Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for tensor_list (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      OpBuilder builder(list);
      llvm::SmallVector<int64_t, 8> element_shape;
      // Infer TensorList element shape from the return type first, and then from
      // the const element shape operand. We first check the return type because
      // shape inference might have successfully inferred the element shape from
      // write operations on the TensorList.
      if (failed(GetElementShapeFromResultType(list.getType(), &element_shape))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary =
        "Replicate TensorList init ops for correct shape assignments in shape inference";
    
      let description = [{
        If we pass same TensorList to a while op as multiple arguments or just use
        the same TensorList at multiple places and assign different
        TensorListSetItem to elements of TensorList, the shape inference is then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.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/g3doc/_includes/tf_passes.md

    _Replicate TensorList init ops for correct shape assignments in shape inference_
    
    If we pass same TensorList to a while op as multiple arguments or just use
    the same TensorList at multiple places and assign different
    TensorListSetItem to elements of TensorList, the shape inference is then
    unable to identify the Shape of these args and thus the input TensorList
    shape is unidentifiable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  10. 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