Home
last modified time | relevance | path

Searched refs:new_api_def (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib.cc364 Status MergeApiDefs(ApiDef* base_api_def, const ApiDef& new_api_def) { in MergeApiDefs() argument
366 if (new_api_def.visibility() != ApiDef::DEFAULT_VISIBILITY) { in MergeApiDefs()
367 base_api_def->set_visibility(new_api_def.visibility()); in MergeApiDefs()
370 if (new_api_def.endpoint_size() > 0) { in MergeApiDefs()
373 new_api_def.endpoint().begin(), new_api_def.endpoint().end(), in MergeApiDefs()
377 for (const auto& new_arg : new_api_def.in_arg()) { in MergeApiDefs()
393 for (const auto& new_arg : new_api_def.out_arg()) { in MergeApiDefs()
410 if (new_api_def.arg_order_size() > 0) { in MergeApiDefs()
412 if (new_api_def.arg_order_size() != base_api_def->arg_order_size()) { in MergeApiDefs()
414 "Invalid number of arguments ", new_api_def.arg_order_size(), " for ", in MergeApiDefs()
[all …]