parameters: (output_node, input_node, function_data)
docstring: Updates the type attributes and function names of While or StatelessWhile.
  
    Args:
      output_node: TensorFlow NodeDef.
      input_node: TensorFlow NodeDef.
      function_data: Map of function names to the list of types and shapes that
        correspond with the function arguments.
docstring_summary: Updates the type attributes and function names of While or StatelessWhile.
docstring_tokens: Updates the type attributes and function names of While or StatelessWhile .
function: def _populate_while_op(output_node, input_node, function_data):
    """Updates the type attributes and function names of While or StatelessWhile.
  
    Args:
      output_node: TensorFlow NodeDef.
      input_node: TensorFlow NodeDef.
      function_data: Map of function names to the list of types and shapes that
        correspond with the function arguments.
    """
    output_node.CopyFrom(input_node)
    cond_func = input_node.attr["cond"].func.name
    output_node.attr["cond"].func.name = _get_new_function_name(cond_func)
    output_node.attr["body"].func.name = _get_new_function_name(
        input_node.attr["body"].func.name)
    output_node.attr["T"].list.CopyFrom(
        attr_value_pb2.AttrValue.ListValue(
            type=function_data[cond_func]["types"]))
    output_node.attr["output_shapes"].list.CopyFrom(
        attr_value_pb2.AttrValue.ListValue(
            shape=function_data[cond_func]["shapes"]))
function_tokens: def _populate_while_op ( output_node , input_node , function_data ) : output_node . CopyFrom ( input_node ) cond_func = input_node . attr [ "cond" ] . func . name output_node . attr [ "cond" ] . func . name = _get_new_function_name ( cond_func ) output_node . attr [ "body" ] . func . name = _get_new_function_name ( input_node . attr [ "body" ] . func . name ) output_node . attr [ "T" ] . list . CopyFrom ( attr_value_pb2 . AttrValue . ListValue ( type = function_data [ cond_func ] [ "types" ] ) ) output_node . attr [ "output_shapes" ] . list . CopyFrom ( attr_value_pb2 . AttrValue . ListValue ( shape = function_data [ cond_func ] [ "shapes" ] ) )