- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for input_arg (0.05 seconds)
-
tensorflow/c/c_api_experimental.cc
} const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index]; if (input_arg.number_attr().empty()) { status->status = tensorflow::errors::NotFound( op_name, " does not have number_attr() defined."); return nullptr; } // The returned string is owned by OpRegistry, so liveness is not a concern. return input_arg.number_attr().c_str(); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
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" " }" " }"
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) -
tensorflow/c/c_api_function_test.cc
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) << "Got unexpected type for input " << i << ". fdef: " << fdef.DebugString();
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)