Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for DT_INT64 (0.11 sec)

  1. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      ASSERT_EQ(absl::OkStatus(),
                model_api->GetVariable("sub_module.uninitialized_variable",
                                       &uninitialized_variable));
      ASSERT_EQ(tensorflow::DT_INT64, uninitialized_variable->dtype());
    
      TF_DeleteSavedModel(saved_model);
      TF_DeleteStatus(status);
      TFE_DeleteContext(ctx);
    }
    
    TEST_P(CSavedModelAPITest, LoadSavedModelWithWhileLoop) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

      %output = "tf.StridedSlice"(%input,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        if arg_def.type == types_pb2.DT_FLOAT:
          attr_names.append('f32_')
        elif arg_def.type == types_pb2.DT_INT32:
          attr_names.append('i32_')
        elif arg_def.type == types_pb2.DT_INT64:
          attr_names.append('i64_')
        elif arg_def.type == types_pb2.DT_BOOL:
          attr_names.append('i1_')
    
        if not attr_names:
          return str(attr_type)
        else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/array_grad_test.cc

    }
    
    TEST_F(ArrayGradTest, GatherNdGrad_SliceIndexing_Int64) {
      TensorShape shape({2, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto indices = Cast(scope_, Const(scope_, {{1}, {0}}), DT_INT64);
      auto y = GatherNd(scope_, x, indices);
      RunTest(x, shape, y, shape);
    }
    
    TEST_F(ArrayGradTest, CheckNumericsGrad) {
      TensorShape shape({5, 2});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/cc_op_gen_util.cc

        case DT_INT16:
        case DT_QINT16:
          return PrintArray(num_elts, t.flat<int16>().data());
        case DT_INT8:
        case DT_QINT8:
          return PrintArray(num_elts, t.flat<int8>().data());
        case DT_INT64:
          return PrintArray(num_elts, t.flat<int64_t>().data());
        case DT_BOOL:
          return PrintArray(num_elts, t.flat<bool>().data());
        case DT_STRING: {
          string ret;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top