original_docstring: Map MXNet's Flatten operator attributes to onnx's Flatten operator
      and return the created node.
      
docstring: Map MXNet's Flatten operator attributes to onnx's Flatten operator
  and return the created node.
docstring_tokens: Map MXNet ' s Flatten operator attributes to onnx ' s Flatten operator and return the created node .
code: def convert_flatten(node, **kwargs):
      """Map MXNet's Flatten operator attributes to onnx's Flatten operator
      and return the created node.
      """
      onnx = import_onnx_modules()
      name = node["name"]
      input_idx = kwargs["index_lookup"][node["inputs"][0][0]]
      proc_nodes = kwargs["proc_nodes"]
      input_node = proc_nodes[input_idx].name  # .output[0]
  
      flatten_node = onnx.helper.make_node(
          "Flatten",
          [input_node],
          [name],
          name=name
      )
      return [flatten_node]
code_tokens: def convert_flatten ( node , ** kwargs ) : onnx = import_onnx_modules ( ) name = node [ "name" ] input_idx = kwargs [ "index_lookup" ] [ node [ "inputs" ] [ 0 ] [ 0 ] ] proc_nodes = kwargs [ "proc_nodes" ] input_node = proc_nodes [ input_idx ] . name flatten_node = onnx . helper . make_node ( "Flatten" , [ input_node ] , [ name ] , name = name ) return [ flatten_node ]
short_docstring: Map MXNet's Flatten operator attributes to onnx's Flatten operator
  and return the created node.
short_docstring_tokens: Map MXNet ' s Flatten operator attributes to onnx ' s Flatten operator and return the created node .
comment: """Map MXNet's Flatten operator attributes to onnx's Flatten operator
      and return the created node.
      """$SEP$# .output[0]