original_docstring: Map MXNet's LRN operator attributes to onnx's LRN operator
      and return the created node.
      
docstring: Map MXNet's LRN operator attributes to onnx's LRN operator
  and return the created node.
docstring_tokens: Map MXNet ' s LRN operator attributes to onnx ' s LRN operator and return the created node .
code: def convert_lrn(node, **kwargs):
      """Map MXNet's LRN operator attributes to onnx's LRN 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"]
      alpha = float(attrs["alpha"]) if "alpha" in attrs else 0.0001
      beta = float(attrs["beta"]) if "beta" in attrs else 0.75
      bias = float(attrs["knorm"]) if "knorm" in attrs else 1.0
      size = int(attrs["nsize"])
  
      lrn_node = onnx.helper.make_node(
          "LRN",
          inputs=[input_node],
          outputs=[name],
          name=name,
          alpha=alpha,
          beta=beta,
          bias=bias,
          size=size
      )
  
      return [lrn_node]
code_tokens: def convert_lrn ( 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" ] alpha = float ( attrs [ "alpha" ] ) if "alpha" in attrs else 0.0001 beta = float ( attrs [ "beta" ] ) if "beta" in attrs else 0.75 bias = float ( attrs [ "knorm" ] ) if "knorm" in attrs else 1.0 size = int ( attrs [ "nsize" ] ) lrn_node = onnx . helper . make_node ( "LRN" , inputs = [ input_node ] , outputs = [ name ] , name = name , alpha = alpha , beta = beta , bias = bias , size = size ) return [ lrn_node ]
short_docstring: Map MXNet's LRN operator attributes to onnx's LRN operator
  and return the created node.
short_docstring_tokens: Map MXNet ' s LRN operator attributes to onnx ' s LRN operator and return the created node .
comment: """Map MXNet's LRN operator attributes to onnx's LRN operator
      and return the created node.
      """