Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for DT_INT64 (0.29 sec)

  1. tensorflow/cc/experimental/libtf/tests/function_test.cc

      input_signature.tuple().emplace_back(input_tensor_spec);
      input_signature.tuple().emplace_back(input_tensor_spec);
      // Incorrect type.
      TaggedValue output_tensor_spec(unknown_shape, tensorflow::DT_INT64);
      Status s = tf_function.RegisterTrace(std::move(trace), input_signature,
                                           output_tensor_spec);
      ASSERT_TRUE(s.ok()) << s.message();
      TaggedValue args = TaggedValue::Tuple();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int32>(
          {1, -1}, DT_INT32, mlir::IntegerType::get(&context, 32)));
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int64_t>(
          {1, -1}, DT_INT64, mlir::IntegerType::get(&context, 64)));
    
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<uint4>(
          {static_cast<uint4>(1), static_cast<uint4>(2)}, DT_UINT4,
          mlir::IntegerType::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    }
    
    TEST(XlaCompilationTest, DontAutoClusterOpsProducingVariant) {
      Scope root = Scope::NewRootScope().ExitOnError();
      Output a = ops::Placeholder(root.WithOpName("test/a"), DT_INT64);
      Output b = ops::Placeholder(root.WithOpName("test/b"), DT_INT64);
    
      Output cast_a = ops::Cast(root.WithOpName("test/cast_a"), a, DT_INT32);
      Output cast_b = ops::Cast(root.WithOpName("test/cast_b"), b, DT_INT32);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

          return DT_UINT16;
        case toco::IODataType::INT32:
          return DT_INT32;
        case toco::IODataType::UINT32:
          return DT_UINT32;
        case toco::IODataType::INT64:
          return DT_INT64;
        case toco::IODataType::UINT8:
          return DT_UINT8;
        case toco::IODataType::UINT64:
          return DT_UINT64;
        case toco::IODataType::STRING:
          return DT_STRING;
        case toco::IODataType::BOOL:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/node_matchers.cc

        case DT_INT16:
          return CompareTensor<int16>(tensor, expected_tensor, listener);
        case DT_INT32:
          return CompareTensor<int32>(tensor, expected_tensor, listener);
        case DT_INT64:
          return CompareTensor<int64_t>(tensor, expected_tensor, listener);
        case DT_UINT8:
          return CompareTensor<uint8>(tensor, expected_tensor, listener);
        case DT_UINT16:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top