Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for DT_INT64 (0.3 sec)

  1. tensorflow/cc/gradients/nn_grad.cc

      bool overlapping;
      TF_RETURN_IF_ERROR(
          GetNodeAttr(op.output(0).node()->attrs(), "overlapping", &overlapping));
      auto dx = internal::FractionalAvgPoolGrad(
          scope, Shape(scope, op.input(0), Shape::OutType(DT_INT64)),
          grad_inputs[0], op.output(1), op.output(2),
          internal::FractionalAvgPoolGrad::Overlapping(overlapping));
      grad_outputs->push_back(dx);
      return scope.status();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad.cc

      // so it's fine to convert it back to int32 regardless of truncation.
      auto params = op.input(0);
      auto colocate_scope = scope.ColocateWith(params);
      Shape::Attrs shape_attrs;
      shape_attrs.out_type_ = DT_INT64;
      auto params_shape64 = Shape(colocate_scope, params, shape_attrs);
      Output params_shape = Cast(colocate_scope, params_shape64, DT_INT32);
    
      auto indices = op.input(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

      ReplaceAllUsesWithCast(concat.getValue(), buffer);
    
      // Create the lengths as a list of the same value (element size).
      tensorflow::Tensor lengths_tensor(tensorflow::DT_INT64,
                                        {buffer_type.getDimSize(0)});
      for (int64_t i = 0; i < buffer_type.getDimSize(0); ++i) {
        lengths_tensor.vec<int64_t>()(i) = buffer_type.getDimSize(1);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      ASSERT_TRUE(name_and_attrs.ParseFromArray(serialized_attr_values->data,
                                                serialized_attr_values->length));
      ASSERT_EQ("VarHandleOp", name_and_attrs.name());
      ASSERT_EQ(tensorflow::DT_INT64,
                name_and_attrs.attr().find("dtype")->second.type());
      TF_DeleteBuffer(serialized_attr_values);
    
      TFE_Op* var_op_2 = TFE_NewOp(ctx, "VarHandleOp", status);
    
      string serialized_dtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_COMPLEX64, static_cast<TF_DataType>(tensorflow::DT_COMPLEX64));
      EXPECT_EQ(TF_COMPLEX, TF_COMPLEX64);
      EXPECT_EQ(TF_INT64, static_cast<TF_DataType>(tensorflow::DT_INT64));
      EXPECT_EQ(TF_BOOL, static_cast<TF_DataType>(tensorflow::DT_BOOL));
      EXPECT_EQ(TF_QINT8, static_cast<TF_DataType>(tensorflow::DT_QINT8));
      EXPECT_EQ(TF_QUINT8, static_cast<TF_DataType>(tensorflow::DT_QUINT8));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        if (status.ok()) {
          // We can only leave the transpose op on host if its dtype is supported on
          // host.
          if (dtype == tensorflow::DT_UINT64 || dtype == tensorflow::DT_INT64 ||
              dtype == tensorflow::DT_UINT32 || dtype == tensorflow::DT_INT32 ||
              dtype == tensorflow::DT_UINT16 || dtype == tensorflow::DT_INT16 ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top