Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AsNodeOutList (0.1 sec)

  1. tensorflow/cc/ops/const_op.h

    template <typename T>
    Output Const(const Scope& scope, const std::initializer_list<T>& v,
                 const TensorShape shape) {
      return Const(scope, Input::Initializer(v, shape));
    }
    
    std::vector<NodeBuilder::NodeOut> AsNodeOutList(const Scope& scope,
                                                    const InputList& inp);
    
    /// }@
    
    }  // namespace ops
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 17 09:17:01 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/const_op.cc

      }
      auto transformed = Input{
          Const(scope.NewSubScope("Const"), Input::Initializer(inp.tensor()))};
      return NodeBuilder::NodeOut{transformed.node(), transformed.index()};
    }
    
    std::vector<NodeBuilder::NodeOut> AsNodeOutList(const Scope& scope,
                                                    const InputList& inp) {
      std::vector<NodeBuilder::NodeOut> out;
      for (const auto& i : inp) {
        const auto node_out = AsNodeOut(scope, i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 20:58:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen.cc

        const auto& api_def_arg(op_info.api_def.in_arg(i));
        strings::StrAppend(
            &body, "  auto _", api_def_arg.rename_to(), " = ::tensorflow::ops::",
            ArgIsList(arg) ? "AsNodeOutList" : "AsNodeOut", "(", scope_str, ", ",
            AvoidCPPKeywords(api_def_arg.rename_to()), ");\n");
        strings::StrAppend(&body, "  ", return_on_error, "\n");
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/array_grad.cc

      auto builder =
          ::tensorflow::NodeBuilder(unique_name, "ConcatOffset")
              .Input(::tensorflow::ops::AsNodeOut(scope, op.input(dim_index)))
              .Input(::tensorflow::ops::AsNodeOutList(scope, shapes.output));
      scope.UpdateBuilder(&builder);
      ::tensorflow::Node* concat_offset_node;
      scope.UpdateStatus(builder.Finalize(scope.graph(), &concat_offset_node));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top