tensorflow/core/grappler/optimizers/data/fusion_utils.cc
// Returns collection of node names that are used as a return from function.
Returns collection of node names that are used as a return from function.
Returns collection of node names that are used as a return from function .
StringCollection GetFunctionOutputs(const FunctionDef& function) {
  const auto number_of_outputs = function.signature().output_arg_size();
  StringCollection outputs;
  outputs.reserve(number_of_outputs);
  for (int output_idx = 0; output_idx < number_of_outputs; output_idx++)
    outputs.push_back(GetOutputNode(function, output_idx));
  return outputs;
}
StringCollection GetFunctionOutputs ( const FunctionDef & function ) { const auto number_of_outputs = function . signature ( ) . output_arg_size ( ) ; StringCollection outputs ; outputs . reserve ( number_of_outputs ) ; for ( int output_idx = 0 ; output_idx < number_of_outputs ; output_idx ++ ) outputs . push_back ( GetOutputNode ( function , output_idx ) ) ; return outputs ; }
Returns collection of node names that are used as a return from function.
Returns collection of node names that are used as a return from function .