Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for StackV2 (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      %max_size = "tf.Const"() {value = dense<10> : tensor<i32>} : () -> tensor<i32>
      %stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
      %stack2 = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s2"} : (tensor<i32>) -> tensor<!tf_type.resource>
      %if_op = "tf.If"(%arg0, %stack, %stack2) {then_branch = @if_then, else_branch = @if_else, is_stateless = false}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

    func.func @unique_resource_allocation(%arg0: tensor<i32>) {
      // expected-remark@below {{Result #0, ID 0 : 0}}
      %stack_handle1 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
      // expected-remark@below {{Result #0, ID 1 : 1}}
      %stack_handle2 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     Minimum 43
     Mul 8
     NextIteration 136
     RandomUniform 14
     Range 9
     RefSwitch 166
     Reshape 2
     ScatterAdd 4
     Shape 6
     ShapeN 10
     Size 2
     Snapshot 1
     StackPopV2 314
     StackPushV2 314
     StackV2 314
     StridedSlice 12
     Sub 5
     Sum 2
     Switch 247
     TensorArrayGatherV3 8
     TensorArrayGradV3 17
     TensorArrayReadV3 9
     TensorArrayScatterV3 8
     TensorArraySizeV3 4
     TensorArrayV3 8
     TensorArrayWriteV3 9
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

        // expected-remark@above {{ID: 5}}
        // expected-remark@above {{Successors: {6}}}
            %stack_handle1 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
            // expected-remark@above {{ID: 0}}
            %stack_handle2 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
            // expected-remark@above {{ID: 1}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/runtime/testdata/testprogcgo/stackswitch.c

    // allocation won't accidentally count as in bounds of the first stack
    #define STACK_SIZE	(64ull << 10)
    
    static ucontext_t uctx_save, uctx_switch;
    
    extern void stackSwitchCallback(void);
    
    char *stack2;
    
    static void *stackSwitchThread(void *arg) {
    	// Simple test: callback works from the normal system stack.
    	stackSwitchCallback();
    
    	// Next, verify that switching stacks doesn't break callbacks.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top