Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for TensorListReserve (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      %tl0 = "tf.EmptyTensorList"(%element_shape, %max_size) : (tensor<1xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<16xf32>>>
      // CHECK-NOT: tf.TensorListReserve
      // CHECK: tf.BroadcastTo
      // CHECK-SAME: tensor<10x32xf32>
      %tl1 = "tf.TensorListReserve"(%arg0, %max_size) : (tensor<*xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<32xf32>>>
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

      "tf_device.cluster"() ({
        // CHECK:      "tf.TensorListReserve"
        // CHECK-SAME: _xla_outside_compilation
        // CHECK:      "tf.TensorListGetItem"
        // CHECK-SAME: _xla_outside_compilation
        %0 = "tf.TensorListReserve"(%arg0, %arg1) : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*x!tf_type.string>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

          // zero reserved elements
          %num_elements = "tf.Const"() <{value = dense<0> : tensor<i32>}> {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : () -> tensor<i32>
    
          %list = "tf.TensorListReserve"(%elem_shape, %num_elements) : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<64x1xbf16>>>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      }
    
      // CHECK-LABEL: not_allowlisted_op
      func.func @not_allowlisted_op(%arg0: tensor<3xi32>, %arg1: tensor<i32>, %arg2: tensor<i32>) -> tensor<?x?x?xf32> {
        // CHECK: tf.TensorListReserve
        %0 = "tf.TensorListReserve"(%arg0, %arg1) : (tensor<3xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<?x?x?xf32>>>
        // CHECK: tf.TensorListGetItem
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/outside_compilation.mlir

          %outputs_45, %control_46 = tf_executor.island wraps "tf.TensorListReserve"(%outputs_41, %outputs_43) {_tpu_replicate = "cluster_sample_sequence", device = ""} : (tensor<1xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:19:45 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      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);
    
      Output tensor_list_reserve = ops::TensorListReserve(
          root.WithOpName("test/tensor_list_reserve"), cast_a, cast_b, DT_FLOAT);
    
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_ASSERT_OK(root.ToGraph(graph.get()));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

    tensor list creation op are constant.
    
    A tensor list creation op `tf.EmptyTensorList`/`tf.TensorListReserve` will be
    turned in to a zero-initialized buffer, and the size is initialized to 0
    for `tf.EmptyTensorList` or the specified size for `tf.TensorListReserve`.
    Each push will be turned into `tf.XlaDynamicUpdateSlice` with the incremented
    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/g3doc/_includes/tf_passes.md

    tensor list creation op are constant.
    
    A tensor list creation op `tf.EmptyTensorList`/`tf.TensorListReserve` will be
    turned in to a zero-initialized buffer, and the size is initialized to 0
    for `tf.EmptyTensorList` or the specified size for `tf.TensorListReserve`.
    Each push will be turned into `tf.XlaDynamicUpdateSlice` with the incremented
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            }
          }
        }
    
        DenseIntElementsAttr dense_elem_attr;
        if (matchPattern(element_shape, m_Constant(&dense_elem_attr))) {
          // Note: It's technically unsafe to rewrite
          //     TensorListReserve(num_element, element_shape)
          // to
          //     Fill(Concat(num_element, element_shape), 0)
          // because element_shape may contain -1 to represent unknown dimension.
          //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let regions = (region SizedRegion<1>:$cond, SizedRegion<1>:$body);
    
      let hasVerifier = 1;
    
      let hasCanonicalizer = 1;
    }
    
    def TF_TensorListReserveOp : TF_TensorListInitOp<"TensorListReserve"> {
      let summary = "List of the given size with empty elements.";
    
      let description = [{
    element_shape: the shape of the future elements of the list
    num_elements: the number of elements to reserve
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top