Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AllArguments (2.02 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/renderers/op_renderer.cc

    namespace generator {
    namespace cpp {
    
    string OpRenderer::Signature() const {
      std::vector<string> args_with_default_val;
      std::vector<string> args_without_default_val;
      for (OpArgumentView const& argument : op_.AllArguments()) {
        string text = argument.Declaration();
        if (context_.mode == RendererContext::kHeader) {
          absl::StrAppend(&text, argument.Initializer());
        }
        if (argument.HasDefaultValue()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    const std::vector<ArgView>& OpView::Outputs() const { return output_args_; }
    
    const std::vector<AttrView>& OpView::Attributes() const {
      return argument_attrs_;
    }
    
    const std::vector<OpArgumentView>& OpView::AllArguments() const {
      return all_arguments_;
    }
    
    int OpView::NumInputs() const { return input_args_.size(); }
    
    int OpView::NumOutputs() const { return output_args_.size(); }
    
    ArgView OpView::OnlyInput() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top