Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for StackV2 (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

    // Tests loop with resource that is unique per iteration.
    //
    // In cases where a resource-allocating op creates a new unique resource per
    // loop iteration (ops with `TF_UniqueResourceAllocation` trait, in this case:
    // `tf.StackV2`), make sure that we don't create data dependencies between
    // different iterations for such resources. This is in line with the behavior
    // for the same loop unrolled. In this particular case, no data chain and token
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

      func.return
    }
    
    // CHECK-LABEL: func @ignore_stack_ops
    func.func @ignore_stack_ops(%arg0: tensor<i32>) -> () {
      "tf_device.cluster"() ({
        // CHECK: "tf.StackV2"
        // CHECK-NOT: _xla_outside_compilation
        %0 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
        tf_device.return
    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/lite/tests/canonicalize.mlir

      %2 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      %3 = "tf.Const"() {value = dense<2> : tensor<i32>} : () -> tensor<i32>
      %4 = "tf.StackV2"(%3) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
      %5:5 = "tfl.while"(%2, %3, %2, %4, %0) ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        maximum size needs to be a constant and 2) a push op can be found with a
        known shape, and all push ops need to have the same shape.
    
        A stack creation op "tf.StackV2" will be turned in to two zero-initialized
        variables, for the buffer and current size. Each push will be turned into
        ```mlir
          %old_val = "tf.ReadVariableOp"(%buffer)
          %old_size = "tf.ReadVariableOp"(%size)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let results = (outs
        Res<TF_Tensor, [{The same tensor as the input 'elem'.}]>:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<1>;
    }
    
    def TF_StackV2Op : TF_Op<"StackV2", [TF_UniqueResourceAllocation]> {
      let summary = "A stack that produces elements in first-in last-out order.";
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top