Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for IteratorGetNext (0.85 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

      // CHECK-DAG: %[[ITER0:.*]]:2 = "tf.IteratorGetNext"(%[[ARG0]])
      // CHECK-DAG: %[[ITER1:.*]]:2 = "tf.IteratorGetNext"(%[[ARG1]])
      %2:2 = "tf.IteratorGetNext"(%arg0) {device = "/device:CPU:0"} : (tensor<*x!tf_type.resource>) -> (tensor<128xf32>, tensor<128xf32>)
      %3:2 = "tf.IteratorGetNext"(%arg1) {device = "/device:CPU:0"} : (tensor<*x!tf_type.resource>) -> (tensor<128xf32>, tensor<128xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/shape-attrs.pbtxt

      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_INT64
        }
      }
      attr {
        key: "index"
        value {
          i: 4
        }
      }
    }
    node {
      name: "IteratorGetNext"
      op: "IteratorGetNext"
      input: "args_0"
      attr {
        key: "output_shapes"
        value {
          list {
            shape {
              dim {
                size: 1
              }
              dim {
                size: 8
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 04 18:02:53 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

    *   At last, the rewrite pass will insert SpaceToDepthOp after IteratorGetNext
        where the iterator's result has the same shape as the first convolution's
        input.
    
    #### Pseudo MLIR code before and after RewritePass
    
    ```mlir
    // Example: original program:
    //
    module {
       func @while_body {
         %input = "tf.IteratorGetNext"(...) {device = "/CPU:0"}:
                  -> tensor<2x224x224x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/cluster_scoping_pass.cc

    // artificial dependencies and incur great performance loss.  In this example,
    // Node_Y becomes dependent on IteratorGetNext and the latencies add up if
    // Node_X and Node_Y are in the same cluster.
    //
    // IteratorGetNext -> Node_X -> Stage
    //
    // Unstage -> Node_Y
    //
    Status ClusterScopingPassImpl::ScopingForPipelineStages() {
      for (Node* n : graph_->nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        %0 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
        // CHECK: %[[INPUT:.*]] = "tf.IteratorGetNext"
        %1 = "tf.IteratorGetNext"(%arg5) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<!tf_type.resource>) -> tensor<2x224x224x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

      %2:2 = "tf.IteratorGetNext"(%0) {_class = ["loc:@iterator"], device = ""} : (tensor<!tf_type.resource>) -> (tensor<200x28x28x1xf32>, tensor<200x10xf32>)
      // CHECK: tf.Iterator
      // CHECK: tf.MakeIterator
      // CHECK: tf.IteratorGetNext
      return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

      func.func private @get_next(%arg0: tensor<!tf_type.resource>) -> tensor<200x10xf32> {
        // CHECK: %0 = "tf.Iterator"
        // CHECK-SAME: shared_name = "foo_iterator"
        // CHECK: "tf.IteratorGetNext"(%0)
        %0 = "tf.IteratorGetNext"(%arg0) : (tensor<!tf_type.resource>) -> tensor<200x10xf32>
        return %0 : tensor<200x10xf32>
      }
    
      // CHECK-LABEL: @main
      func.func @main()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device_ops.h

      REGISTER_KERNEL_BUILDER(Name("DeleteIterator").Device(DEVICE),               \
                              data::DeleteIteratorOp);                             \
      REGISTER_KERNEL_BUILDER(Name("IteratorGetNext").Device(DEVICE),              \
                              data::IteratorGetNextOp);                            \
      REGISTER_KERNEL_BUILDER(Name("IteratorGetNextAsOptional").Device(DEVICE),    \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     Cast 38
     ConcatV2 3
     Const 875
     ControlTrigger 5
     Enter 874
     Equal 4
     Exit 69
     ExpandDims 9
     Fill 5
     FloorMod 1
     GreaterEqual 7
     Identity 113
     IsVariableInitialized 1
     IteratorGetNext 1
     IteratorV2 1
     Less 9
     LogicalAnd 3
     LoopCond 8
     Max 4
     Maximum 44
     Merge 145
     Minimum 43
     Mul 8
     NextIteration 136
     RandomUniform 14
     Range 9
     RefSwitch 166
     Reshape 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

        return "Inserts TPU layout ops to determine layout at run time.";
      }
    };
    
    // Checks if the input producer op is supported in this transform. Right now, we
    // only check if it is a tf.IteratorGetNext where resource input is coming from
    // a VarHandle on CPU or a function argument assigned to CPU.
    bool IsSupportedInputOp(
        Operation* op,
        const TF::ResourceAliasAnalysis::Info& resource_alias_analysis) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top