Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for input_arg (0.18 sec)

  1. tensorflow/c/c_api_experimental.cc

      if (!status->status.ok()) return nullptr;
    
      if (input_index >= op_def->input_arg_size() || input_index < 0) {
        status->status = tensorflow::errors::InvalidArgument(
            input_index, " out of range for ", op_name);
        return nullptr;
      }
    
      const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index];
    
      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.cc

          absl::StrCat("    signature {"
                       "      name: 'MatMulFunction'"
                       "      input_arg {"
                       "        name: 'a'"
                       "        type: DT_FLOAT"
                       "      }"
                       "      input_arg {"
                       "        name: 'b'"
                       "        type: DT_FLOAT"
                       "      }"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_distributed_test.cc

    string AddVariablesFunction() {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          "    signature {"
          "      name: 'AddVariablesFunction'"
          "      input_arg {"
          "        name: 'var'"
          "        type: DT_RESOURCE"
          "      }"
          "      output_arg {"
          "        name: 'sum'"
          "        type: DT_FLOAT"
          "      }"
          "    }"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

                            const std::vector<IOSpec>& inputs) {
        const OpDef& signature = fdef.signature();
        ASSERT_EQ(inputs.size(), signature.input_arg_size());
        for (int i = 0; i < inputs.size(); ++i) {
          const OpDef::ArgDef& arg = signature.input_arg(i);
          const IOSpec& in = inputs[i];
          if (in.second != DT_INVALID) {
            ASSERT_EQ(arg.type(), in.second)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/eager/c_api_test.cc

    }
    
    string MatMulFunction() {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          "    signature {"
          "      name: 'MatMulFunction'"
          "      input_arg {"
          "        name: 'a'"
          "        type: DT_FLOAT"
          "      }"
          "      output_arg {"
          "        name: 'm'"
          "        type: DT_FLOAT"
          "      }"
          "    }"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top