original_docstring: Map MXNet's Dropout operator attributes to onnx's Dropout operator
      and return the created node.
      
docstring: Map MXNet's Dropout operator attributes to onnx's Dropout operator
  and return the created node.
docstring_tokens: Map MXNet ' s Dropout operator attributes to onnx ' s Dropout operator and return the created node .
code: def convert_dropout(node, **kwargs):
      """Map MXNet's Dropout operator attributes to onnx's Dropout operator
      and return the created node.
      """
      onnx = import_onnx_modules()
      name = node["name"]
      input_id = kwargs["index_lookup"][node["inputs"][0][0]]
      input_name = kwargs["proc_nodes"][input_id].name
      attrs = node["attrs"]
      probability = float(attrs["p"])
  
      dropout_node = onnx.helper.make_node(
          "Dropout",
          [input_name],
          [name],
          ratio=probability,
          name=name
      )
      return [dropout_node]
code_tokens: def convert_dropout ( node , ** kwargs ) : onnx = import_onnx_modules ( ) name = node [ "name" ] input_id = kwargs [ "index_lookup" ] [ node [ "inputs" ] [ 0 ] [ 0 ] ] input_name = kwargs [ "proc_nodes" ] [ input_id ] . name attrs = node [ "attrs" ] probability = float ( attrs [ "p" ] ) dropout_node = onnx . helper . make_node ( "Dropout" , [ input_name ] , [ name ] , ratio = probability , name = name ) return [ dropout_node ]
short_docstring: Map MXNet's Dropout operator attributes to onnx's Dropout operator
  and return the created node.
short_docstring_tokens: Map MXNet ' s Dropout operator attributes to onnx ' s Dropout operator and return the created node .
comment: """Map MXNet's Dropout operator attributes to onnx's Dropout operator
      and return the created node.
      """