Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for graph_op (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        FetchOp GetFetch();
      }];
    
      let hasCanonicalizer = 1;
    }
    
    def TfExecutor_FetchOp : TfExecutor_Op<"fetch",
        [Terminator, ControlOperandsAfterAllData, HasParent<"GraphOp">]> {
      let summary = [{
        The `tf_executor.fetch` operation terminates the graph and returns values;
      }];
    
      let description = [{
        The non-control operands of the fetch operation are returned outside of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

      // so we define the `graph_` by the following `flib` in this test point
      // instead of the way we do in the Init method.
      FunctionDefLibrary flib;
      *flib.add_function() = XTimesTwo();
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
      graph_ = std::make_unique<Graph>(flib_def);
    
      GraphDef original_graph_def;
      graph_->ToGraphDef(&original_graph_def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc

      void runOnOperation() override;
    };
    
    // Extracts inner ops of tf_executor.island ops in a tf_executor.graph, in the
    // order of ops in tf_executor.graph.
    LogicalResult LiftIslandOpInnerOpsFromGraph(tf_executor::GraphOp graph) {
      auto graph_position = graph.getOperation()->getIterator();
      Block* parent_block = graph.getOperation()->getBlock();
      for (Operation& op : graph.GetBody().without_terminator()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      MergedIsland* GetOperandCandidateToMergeWith(GraphOp graph,
                                                   MergedIsland& merged_island);
    
      // Attempt to find an island group that consumes a result, either control or
      // data, from one of the islands in the given `merged_island`. If no candidate
      // can be found, returns nullptr.
      MergedIsland* GetResultCandidateToMergeWith(GraphOp graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/scope.cc

                            /* disable_shape_inference */ true));
    }
    
    Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name,
                      bool copy_names)
        : graph_(other.impl()->graph_),
          status_(other.impl()->status_),
          name_map_(copy_names ? other.impl()->name_map_
                               : std::shared_ptr<NameMap>(new NameMap)),
          refiner_(other.impl()->refiner_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

      new_in_def.clear_input();
      new_in_def.set_name(GenerateUniqueName(name_set, new_in_def.name()));
      TF_ASSIGN_OR_RETURN(Node * new_in, graph_->AddNode(new_in_def));
    
      for (const Edge* e : n->in_edges()) {
        if (e->IsControlEdge()) {
          graph_->AddControlEdge(e->src(), new_in);
        } else {
          graph_->AddEdge(e->src(), e->src_output(), new_in, e->dst_input());
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/c/while_loop_test.cc

      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/add";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/body/one";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/cond/less_than";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/shape_inference_helpers.cc

    #include <vector>
    
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    
    Status BackEdgeHelper::Remove(Graph* graph) {
      if (graph_ != nullptr) {
        return errors::Internal("BackEdgeHelper duplicate call to Remove.");
      }
      graph_ = graph;
      for (Node* n : graph_->nodes()) {
        if (n->IsMerge()) {
          for (const Edge* e : n->in_edges()) {
            if (e->src()->IsNextIteration()) {
              back_edges_.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/manip_grad.cc

                    const std::vector<Output>& grad_inputs,
                    std::vector<Output>* grad_outputs) {
      auto shift = op.input(1);
      auto axis = op.input(2);
      auto grad_op = Roll(scope, grad_inputs[0], Neg(scope, shift), axis);
      grad_outputs->push_back(grad_op);
      grad_outputs->push_back(NoGradient());
      grad_outputs->push_back(NoGradient());
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Roll", RollGrad);
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 19 12:19:42 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/graph.go

    The -x flag causes graph to print the commands graph executes.
    
    See https://golang.org/ref/mod#go-mod-graph for more about 'go mod graph'.
    	`,
    	Run: runGraph,
    }
    
    var (
    	graphGo goVersionFlag
    )
    
    func init() {
    	cmdGraph.Flag.Var(&graphGo, "go", "")
    	cmdGraph.Flag.BoolVar(&cfg.BuildX, "x", false, "")
    	base.AddChdirFlag(&cmdGraph.Flag)
    	base.AddModCommonFlags(&cmdGraph.Flag)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top