Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for tensor_list (0.17 sec)

  1. tensorflow/cc/experimental/base/tests/BUILD

        name = "tensor_types_test_util",
        testonly = True,
        hdrs = ["tensor_types_test_util.h"],
        deps = [
            "//tensorflow/c:tf_datatype",
        ],
    )
    
    tf_cc_test(
        name = "tensor_test",
        srcs = [
            "tensor_test.cc",
        ],
        deps = [
            ":tensor_types_test_util",
            "//tensorflow/c:tf_datatype",
            "//tensorflow/cc/experimental/base/public:status",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-default-to-single-batch.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch=false" -split-input-file %s | FileCheck %s
    
    // -----
    
    func.func @tensorlistReserveConstantUnknownElementShapeDim(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<?x7xf32> {
      %cst = arith.constant dense<[-1, 7]> : tensor<2xi32>
      %0 = "tf.TensorListReserve"(%cst, %arg0) : (tensor<2xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<?x7xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 766 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_translate_flags.h

    // during the flatbuffer translation.
    extern bool emit_builtin_tflite_ops;
    extern bool emit_select_tf_ops;
    extern bool emit_custom_ops;
    // The flag to control whether to lower tensorlist ops into TF ops.
    extern bool lower_tensor_list_ops;
    // The flag to control whether debug info gets stripped on export.
    extern bool strip_debug_info;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 23 05:49:32 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export_flags.h

    // during the flatbuffer translation.
    extern bool emit_builtin_tflite_ops;
    extern bool emit_select_tf_ops;
    extern bool emit_custom_ops;
    // The flag to control whether to lower tensorlist ops into TF ops.
    extern bool lower_tensor_list_ops;
    // The flag to control whether debug info gets stripped on export.
    extern bool strip_debug_info;
    // The flag to control whether to store constant & custom buffers inside
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 20 17:49:09 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-enable-dynamic-update-slice.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch enable-dynamic-update-slice" -split-input-file %s | FileCheck %s
    
    // -----
    
    // CHECK-LABEL: tensorlistSetItem
    func.func @tensorlistSetItem(%arg0: tensor<3x10xf32>, %arg1: tensor<1xi32>, %arg2: tensor<i32>, %arg3: tensor<10xf32>) -> tensor<3x10xf32> {
      %0 = "tf.TensorListFromTensor"(%arg0, %arg1) : (tensor<3x10xf32>, tensor<1xi32>) -> tensor<!tf_type.variant<tensor<10xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/common/tfl_pass_config.h

      // If `emit_builtin_tflite_ops` is true, TF Lite legalization passes will be
      // added, which produces TF Lite ops.
      bool emit_builtin_tflite_ops = true;
      // If `lower_tensor_list_ops` is true, tensorlist ops will be lowered to basic
      // TF ops before legalization to TF Lite dialect.
      bool lower_tensor_list_ops = false;
      // The allowlist of functions that would be preserved after trimming.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/BUILD

            "//tensorflow/core/platform:status_matchers",
            "//tensorflow/core/platform:statusor",
        ],
    )
    
    tf_cc_test(
        name = "libtf_tensor_test",
        size = "medium",
        srcs = ["tests/tensor_test.cc"],
        tags = ["no_oss"],  # TODO(b/193268458): Need to disable TFRT.
        deps = [
            ":libtf",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c/eager:abstract_context",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> legalize_custom_tensor_list_ops(
        "legalize-custom-tensor-list-ops",
        llvm::cl::desc("Convert \"tf.TensorList*\" ops to \"tfl.custom_op\""
                       "if they can all be supported."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> serialize_stablehlo_ops(
        "serialize-stablehlo-ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        llvm::cl::location(emit_custom_ops), llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<bool, true> lower_tensor_list_ops_flag(
        "lower-tensor-list-ops",
        llvm::cl::desc("Lower the TensorList ops within the TFLite dialect"),
        llvm::cl::location(lower_tensor_list_ops), llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<bool, true> strip_debug_info_flag(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top