Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for input_arg_size (0.1 sec)

  1. tensorflow/c/c_api_experimental.cc

      const tensorflow::OpDef* op_def = nullptr;
      status->status =
          tensorflow::OpRegistry::Global()->LookUpOpDef(op_name, &op_def);
      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;
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      }
    
      void VerifyFDefInputs(const tensorflow::FunctionDef& fdef,
                            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) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top