Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for NextIteration (0.35 sec)

  1. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    // with that limited clustering..
    //
    //
    // NB!  The result computed by this analysis assumes that we don't auto-cluster
    // back-edges (i.e. the edges from NextIteration to Merge).
    //
    // NB!  The result computed by this analysis assumes that we don't auto-cluster
    // functional control flow nodes containing resource operations.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    }
    
    // Split the tfg.NextIteration into tf_executor::NextIterationSourceOp and
    // tf_executor::NextIterationSinkOp to break the cycle introduced by itself.
    static void SplitNextIteration(Block &block) {
      // TODO(b/207144333): Supports callback for unregistered ops
      block.walk([&](Operation *op) {
        if (op->getName().getStringRef() != "tfg.NextIteration") return;
        mlir::OpBuilder builder(op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

                                     "tf_executor.NextIteration.Source op: ";
      auto source = dyn_cast<NextIterationSourceOp>(definingOp);
      if (!source)
        return sink.emitOpError() << "expects a token produced by a "
                                     "tf_executor.NextIteration.Source op: ";
      if (source.getOutput().getType() != sink.getInput().getType())
        return sink.emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.cc

                  graph->RemoveEdge(e);
                  graph->AddEdge(const_node, 0, dst, dst_input);
                }
              }
            }
          }
        }
    
        // Merge node causes a loop so we remove NextIteration->Merge edge before
        // performing shape inference. But removing those edges also prevents us
        // from inferring output shape for Merge node (we need shapes for all its
        // inputs).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

    // and certain tf_executor ops are added correctly.
    
    // CHECK: %[[CONTROL:[^ ,]*]] = tf_executor.island wraps "tf.Print"
    // CHECK: tf_executor.NextIteration.Sink[{{.*}}] {{.*}}, %[[CONTROL]]
    func.func @next_iteration_sink_control_input() {
      tf_executor.graph {
        %source:3 = tf_executor.NextIteration.Source : tensor<*xi32>
        %island:2 = tf_executor.island {
          %const = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/deadness_analysis.cc

        }
      }
      return errors::InvalidArgument(
          "Multiple NextIteration inputs to merge node ",
          FormatNodeForError(*merge), ": \n", absl::StrJoin(backedges, "\n"),
          "\nMerge nodes can have at most one incoming NextIteration edge.");
    }
    
    Status FindUniqueBackedge(Node* merge, const Edge** result) {
      *result = nullptr;
      CHECK(merge->IsMerge());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_cluster_util_test.cc

      ops::internal::Enter enter(s.WithOpName("init_value"), init_value, loop_name);
      ops::Merge merge(s.WithOpName("merge"), {init_value, init_value});
      Output next_iteration =
          ops::NextIteration(s.WithOpName("next_itr"), merge.output);
      return s.graph()->UpdateEdge(next_iteration.node(), 0, merge.output.node(),
                                   1);
    }
    
    TEST(NodesRelatedToRefVariables, Cycles) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     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
     ScatterAdd 4
     Shape 6
     ShapeN 10
     Size 2
     Snapshot 1
     StackPopV2 314
     StackPushV2 314
     StackV2 314
     StridedSlice 12
     Sub 5
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis_test.cc

                               latch.output_false);
      Output iv_next = ops::Add(root.WithOpName(prefix + "/ivnext"),
                                latch.output_true, increment_by);
      Output next_iteration =
          ops::NextIteration(root.WithOpName(prefix + "/next_iteration"), iv_next);
    
      CHECK(root.graph()
                ->UpdateEdge(next_iteration.node(), 0, iv.output.node(), 1)
                .ok());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // "NextIteration" node to a "Merge" node add cyclic dependencies and make the
      // topological sorting impossible. We need to remove these edges from the
      // input graph to infer shapes and construct a Function. For each
      // "NextIteration" node, there are two operations, "NextIteration.source"
      // and "NextIteration.sink" are added to the MLIR module.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top