Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for output_arg (0.05 seconds)

  1. tensorflow/c/eager/c_api_test.cc

        TestUnavailableErrorOp);
    
    string FunctionWithErrorOp(const absl::string_view op_name) {
      const std::string& func_str =
          "    signature {"
          "      name: 'FunctionWith__OP_NAME__'"
          "      output_arg {"
          "        name: 'out'"
          "        type: DT_STRING"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'error_op'"
          "      op: '__OP_NAME__'"
          "    }"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_function_test.cc

        const OpDef& signature = fdef.signature();
        ASSERT_EQ(outputs.size(), signature.output_arg_size());
        for (int i = 0; i < outputs.size(); ++i) {
          const OpDef::ArgDef& arg = signature.output_arg(i);
          const IOSpec& out = outputs[i];
          if (out.second != DT_INVALID) {
            ASSERT_EQ(arg.type(), out.second)
                << "Got unexpected type for output " << i
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
Back to Top