original_docstring: Map MXNet's Clip operator attributes to onnx's Clip operator
      and return the created node.
      
docstring: Map MXNet's Clip operator attributes to onnx's Clip operator
  and return the created node.
docstring_tokens: Map MXNet ' s Clip operator attributes to onnx ' s Clip operator and return the created node .
code: def convert_clip(node, **kwargs):
      """Map MXNet's Clip operator attributes to onnx's Clip 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
      attrs = node["attrs"]
      a_min = np.float(attrs.get('a_min', -np.inf))
      a_max = np.float(attrs.get('a_max', np.inf))
  
      clip_node = onnx.helper.make_node(
          "Clip",
          [input_node],
          [name],
          name=name,
          min=a_min,
          max=a_max
      )
      return [clip_node]
code_tokens: def convert_clip ( 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 attrs = node [ "attrs" ] a_min = np . float ( attrs . get ( 'a_min' , - np . inf ) ) a_max = np . float ( attrs . get ( 'a_max' , np . inf ) ) clip_node = onnx . helper . make_node ( "Clip" , [ input_node ] , [ name ] , name = name , min = a_min , max = a_max ) return [ clip_node ]
short_docstring: Map MXNet's Clip operator attributes to onnx's Clip operator
  and return the created node.
short_docstring_tokens: Map MXNet ' s Clip operator attributes to onnx ' s Clip operator and return the created node .
comment: """Map MXNet's Clip operator attributes to onnx's Clip operator
      and return the created node.
      """