Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for is_list_output (0.25 sec)

  1. tensorflow/cc/framework/cc_op_gen.cc

        strings::StrAppend(&class_decl,
                           "  operator ::tensorflow::Operation() const { "
                           "return operation; }\n");
      } else if (op_info.output_types.size() == 1) {
        if (op_info.is_list_output[0]) {
          // Write the subscript operator, allowing out[i] for the list-typed
          // output.
          strings::StrAppend(&class_decl,
                             "  ::tensorflow::Output operator[](size_t index) "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.h

      string op_name;
      std::vector<string> arg_types;
      std::vector<string> arg_names;
      std::vector<string> output_types;
      std::vector<string> output_names;
      std::vector<bool> is_list_output;
      bool has_optional_attrs;
      string comment;
    
      const OpDef& graph_op_def;
      const ApiDef& api_def;
      const std::vector<string>& aliases;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.cc

        output_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to()));
        is_list_output.push_back(is_list);
      }
    
      strings::StrAppend(&comment, "\nReturns:\n");
      if (graph_op_def.output_arg_size() == 0) {  // No outputs.
        strings::StrAppend(&comment, "* the created `Operation`\n");
      } else if (graph_op_def.output_arg_size() == 1) {  // One output
        if (is_list_output[0]) {
          strings::StrAppend(&comment, "* `OutputList`: ");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top