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.cc362 Status MergeApiDefs(ApiDef* base_api_def, const ApiDef& new_api_def) { in MergeApiDefs() argument
364 if (new_api_def.visibility() != ApiDef::DEFAULT_VISIBILITY) { in MergeApiDefs()
365 base_api_def->set_visibility(new_api_def.visibility()); in MergeApiDefs()
368 if (new_api_def.endpoint_size() > 0) { in MergeApiDefs()
371 new_api_def.endpoint().begin(), new_api_def.endpoint().end(), in MergeApiDefs()
375 for (const auto& new_arg : new_api_def.in_arg()) { in MergeApiDefs()
391 for (const auto& new_arg : new_api_def.out_arg()) { in MergeApiDefs()
408 if (new_api_def.arg_order_size() > 0) { in MergeApiDefs()
410 if (new_api_def.arg_order_size() != base_api_def->arg_order_size()) { in MergeApiDefs()
412 "Invalid number of arguments ", new_api_def.arg_order_size(), " for ", in MergeApiDefs()
[all …]