Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for tensor_list (0.2 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

    // RUN: tf-opt -tfl-legalize-tensorlist -canonicalize -split-input-file %s | FileCheck %s
    
    // CHECK-LABEL: listReserveScalarShapeI32
    func.func @listReserveScalarShapeI32(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>> {
      %0 = "tf.TensorListReserve"(%arg0, %arg1) : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/tests/tensor_test.cc

    A. Unique TensorFlower <******@****.***> 1684532433 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/base/tests/tensor_test.cc

    A. Unique TensorFlower <******@****.***> 1712999357 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

          });
      return has_variant_input || has_variant_output;
    }
    
    // There are 2 standard tf ops which are not TensorList ops that may take as
    // input a tensorlist. These are tf.AddN and tf.ZeroesLike. Since the runtime
    // implementation of a tensorlist are not compatible between tf and tflite
    // we cannot use tflite tensorlist kernels until these cases are handled.
    bool IsNonTensorListVariantOp(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/tensorlist_patterns.td

    //===----------------------------------------------------------------------===//
    // TensorList transformation patterns.
    // Note that the pattern below rewrites `TensorList` tensors  (which has type DT_VARIANT)
    // into regular tensors. We also assume that each element in the `TensorList` has
    // a same constant shape.
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 16 23:20:46 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        // meaningless value -1 for non resource outputs.
        out_desc.input_index =
            it != output_to_input_alias.end() ? it->getSecond() : -1;
        // MLIR-based TF-Compiler bridge doesn't support tensorlist output yet.
        // TODO(ycao): Support tensorlist-type output.
        out_desc.is_tensor_list = false;
      }
    
      // XLA computation always uses Tuple shape.
      *xla_output_shape = xla::ShapeUtil::MakeTupleShape(shapes);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        }
      };
    
      while (!worklist.empty()) {
        tensorlist = worklist.top();
        worklist.pop();
    
        // TensorLists are semantically immutable. For example, TensorListSetItem
        // takes a TensorList as input and produces a TensorList as output. So to
        // traverse modifications to TensorList and verify that all elements written
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/passes.td

                 "legalized by this pass, then the IR won't be changed so that "
                 "tensorlist ops can pass through (default false).">,
          Option<
            "default_to_single_batch_", "default-to-single-batch", "bool", "false",
            "When specified to true, if the tensorlist ops has unspecified batch "
            "size, this pass will assume that the batch size is one to proceed "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top