Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetUniqueNameForOp (0.37 sec)

  1. tensorflow/cc/framework/scope.cc

      const string sep =
          name_.empty() || unique_name.empty() ? "" : kScopeSeparator;
      return strings::StrCat(name_, sep, unique_name);
    }
    
    string Scope::GetUniqueNameForOp(const string& default_name) const {
      if (impl()->single_use_scope()) {
        if (impl()->op_name_.empty() || *impl()->scope_used_) {
          *impl()->status_ =
    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/ops/while_loop.cc

                                      next_output_index, dtype);
    
      std::vector<NodeBuilder::NodeOut> input_list({enter_input, next_input});
      const string unique_name = scope.GetUniqueNameForOp("Merge");
      NodeBuilder builder = NodeBuilder(unique_name, "Merge").Input(input_list);
      scope.UpdateBuilder(&builder);
    
      Node* merge_node;
      TF_RETURN_IF_ERROR(builder.Finalize(scope.graph(), &merge_node));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/scope.h

      // The following functions are for scope object consumers.
    
      /// Return a unique name, using default_name if an op name has not been
      /// specified.
      string GetUniqueNameForOp(const string& default_name) const;
    
      /// Update the status on this scope.
      /// Note: The status object is shared between all children of this scope.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/array_grad.cc

      for (int i = start_value_index; i < end_value_index; ++i) {
        inputs.push_back(op.input(i));
      }
    
      auto shapes = ShapeN(scope, inputs);
      const auto unique_name = scope.GetUniqueNameForOp("ConcatOffset");
      auto builder =
          ::tensorflow::NodeBuilder(unique_name, "ConcatOffset")
              .Input(::tensorflow::ops::AsNodeOut(scope, op.input(dim_index)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/deadness_analysis_test.cc

      auto _data = ops::AsNodeOut(scope, data);
      if (!scope.ok()) return;
      auto _output_index = ops::AsNodeOut(scope, output_index);
      if (!scope.ok()) return;
      Node* ret;
      const auto unique_name = scope.GetUniqueNameForOp("_SwitchN");
      auto builder = NodeBuilder(unique_name, "_SwitchN")
                         .Input(_data)
                         .Input(_output_index)
                         .Attr("num_outs", num_outs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top