Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for DT_INT64 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        CONVERT_FLAT(DT_FLOAT, float)
        CONVERT_FLAT(DT_DOUBLE, double)
        CONVERT_FLAT(DT_INT8, int8)
        CONVERT_FLAT(DT_INT16, int16)
        CONVERT_FLAT(DT_INT32, int32)
        CONVERT_FLAT(DT_INT64, int64_t)
        CONVERT_FLAT(DT_UINT8, uint8)
        CONVERT_FLAT(DT_UINT16, uint16)
        CONVERT_FLAT(DT_UINT32, uint32)
        CONVERT_FLAT(DT_UINT64, uint64)
        CONVERT_FLAT(DT_COMPLEX64, std::complex<float>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

          {"y: T"},
          // Attr def
          {"T: {float, double, int32, int64}"},
          // Nodes
          {
              {{"two"}, "Const", {}, {{"value", kTwo}, {"dtype", DT_INT64}}},
              {{"scale"}, "Cast", {"two"}, {{"SrcT", DT_INT64}, {"DstT", "$T"}}},
              {{"y"}, "Mul", {"x", "scale"}, {{"T", "$T"}}},
          });
    }
    
    class MlirGraphOptimizationPassTest : public Test {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cpu_device.cc

    // Kernel registrations
    
    constexpr std::array<DataType, 18> kAllXlaCpuTypes = {
        {DT_UINT8, DT_QUINT8, DT_UINT16, DT_INT8, DT_QINT8, DT_INT16, DT_INT32,
         DT_QINT32, DT_INT64, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_COMPLEX64,
         DT_COMPLEX128, DT_BOOL, DT_BFLOAT16, DT_INT4, DT_UINT4}};
    
    REGISTER_XLA_LAUNCH_KERNEL(DEVICE_XLA_CPU, XlaLocalLaunchOp, kAllXlaCpuTypes);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_gpu_device.cc

    // Kernel registrations
    
    constexpr std::array<DataType, 20> kAllXlaGpuTypes = {
        {DT_UINT8,    DT_QUINT8,      DT_UINT16,        DT_INT8,       DT_QINT8,
         DT_INT16,    DT_INT32,       DT_QINT32,        DT_INT64,      DT_HALF,
         DT_FLOAT,    DT_DOUBLE,      DT_COMPLEX64,     DT_COMPLEX128, DT_BOOL,
         DT_BFLOAT16, DT_FLOAT8_E5M2, DT_FLOAT8_E4M3FN, DT_INT4,       DT_UINT4}};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

          OP_REQUIRES(context, context->input_type(i * 3 + 1) == DT_FLOAT,
                      absl::AbortedError("The input `max` must have float type."));
          OP_REQUIRES(
              context, context->input_type(i * 3 + 2) == DT_INT64,
              absl::AbortedError("The input `histogram` must have int64 type."));
        }
      }
    
      ~CalibrationStatisticsSaverOp() override {
        // Save to file during destruction so we only save it once.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top