Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for DT_INT64 (0.11 sec)

  1. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

                       .WithXlaCluster("cluster_0");
    
      Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT);
      Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT64);
      Output size = ops::Placeholder(root.WithOpName("size"), DT_INT64);
      Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size);
    
      std::unique_ptr<Graph> result;
      TF_ASSERT_OK(IncreaseDynamismForAutoJit(root, &result));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

          {},
          // Nodes
          {
              {{"two"},
               "Const",
               {},
               {{"value", test::AsScalar<int32>(2)}, {"dtype", DT_INT64}}},
              {{"scale"},
               "Cast",
               {"two"},
               {{"SrcT", DT_INT64}, {"DstT", DT_FLOAT}}},
              {{"y"}, "Mul", {"x", "scale"}, {{"T", DT_FLOAT}}},
          });
    
      tensorflow::set_tf2_execution(true);
      FunctionDefLibrary flib;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu_device_propagation.mlir

        tf_executor.fetch %0#2 : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-LABEL: func @testNextIterationMissingSourceDevice
    func.func @testNextIterationMissingSourceDevice() {
      tf_executor.graph {
        // CHECK:      tf_executor.NextIteration.Source
        %0:3 = tf_executor.NextIteration.Source : tensor<i64> {T = "tfdtype$DT_INT64"}
        // CHECK:      "tf.Identity"({{.+}}) :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 19K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

      return {slice_inputs};
    }
    
    // Casts `x` to a DT_INT64 if it isn't one already.
    Output MakeInt64(const Scope& host_scope, absl::string_view name,
                     const Output& x) {
      return x.type() == DT_INT64
                 ? x
                 : ops::Cast(host_scope.WithOpName(name, "_s64"), x, DT_INT64);
    }
    
    // Returns `slice_inputs` with the index and size inputs cast to DT_INT64.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
    
      const std::string dir = testing::TmpDir();
      const std::string output_file_path = io::JoinPath(dir, "statistics.pbtxt");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

            }
            output_arg {
              name: "sparse_indices"
              type: DT_INT64
              number_attr: "Nsparse"
            }
            output_arg {
              name: "sparse_values"
              type_list_attr: "sparse_types"
            }
            output_arg {
              name: "sparse_shapes"
              type: DT_INT64
              number_attr: "Nsparse"
            }
            output_arg {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top