MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AsFunctionDefNode

Method AsFunctionDefNode

tensorflow/core/grappler/utils/functions.cc:489–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489Status MakeFunctionDefHelper::AsFunctionDefNode(
490 NodeDef* function_body_node) const {
491 string func_def_input;
492
493 for (int i = 0; i < function_body_node->input_size(); ++i) {
494 TF_RETURN_IF_ERROR(
495 AsFunctionDefInput(function_body_node->input(i), &func_def_input));
496 function_body_node->set_input(i, func_def_input);
497 }
498
499 return Status::OK();
500}
501
502} // namespace
503

Callers 1

MakeFunctionDefFunction · 0.80

Calls 3

set_inputMethod · 0.80
input_sizeMethod · 0.45
inputMethod · 0.45

Tested by

no test coverage detected