Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetNameForOp (0.16 sec)

  1. tensorflow/cc/framework/scope.cc

          return "";
        }
        *impl()->scope_used_ = true;
        return impl()->op_name_;
      }
      return impl()->op_name_.empty() ? impl()->GetNameForOp(default_name)
                                      : impl()->GetNameForOp(impl()->op_name_);
    }
    
    Scope Scope::NewSubScope(const string& child_scope_name) const {
      if (child_scope_name.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/scope_internal.h

          const Operation& colocate_with_op) const;
    
      // Helper functions to get a unique names.
      string GetUniqueName(const string& prefix, bool check_single_use) const;
      string GetNameForOp(const string& default_name) const;
    
      bool single_use_scope() const { return scope_used_ != nullptr; }
    
      // The graph, status, and name maps are shared by all child scopes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        .SetIsAggregate();
    
    Node* Sequencer(const GraphDefBuilder::Options& opts,
                    const string& call_node_name) {
      if (opts.HaveError()) return nullptr;
      NodeBuilder node_builder(opts.GetNameForOp("NoOp"), "NoOp",
                               opts.op_registry());
      return opts.WithAttr(kXlaHostTransferSequencerAttr, call_node_name)
          .FinalizeBuilder(&node_builder);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      // Don't set any value field in the proto, since it is only going to be used
      // for shape inference.
    
      GraphDefBuilder::Options options(graph_out, /*status=*/nullptr);
      NodeBuilder node_builder(options.GetNameForOp("KnownShape"), "Const",
                               options.op_registry());
      node_builder.Attr("dtype", data_type).Attr("value", dummy_proto);
      Node* node = options.FinalizeBuilder(&node_builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top