original_docstring: Map MXNet's depth_to_space operator attributes to onnx's
      DepthToSpace operator and return the created node.
      
docstring: Map MXNet's depth_to_space operator attributes to onnx's
  DepthToSpace operator and return the created node.
docstring_tokens: Map MXNet ' s depth_to_space operator attributes to onnx ' s DepthToSpace operator and return the created node .
code: def convert_depthtospace(node, **kwargs):
      """Map MXNet's depth_to_space operator attributes to onnx's
      DepthToSpace operator and return the created node.
      """
      onnx = import_onnx_modules()
      name = node["name"]
      proc_nodes = kwargs["proc_nodes"]
      inputs = node["inputs"]
      attrs = node["attrs"]
  
      input_node_id = kwargs["index_lookup"][inputs[0][0]]
      input_node = proc_nodes[input_node_id].name
  
      blksize = int(attrs.get("block_size", 0))
  
      node = onnx.helper.make_node(
          "DepthToSpace",
          [input_node],
          [name],
          blocksize=blksize,
          name=name,
      )
      return [node]
code_tokens: def convert_depthtospace ( node , ** kwargs ) : onnx = import_onnx_modules ( ) name = node [ "name" ] proc_nodes = kwargs [ "proc_nodes" ] inputs = node [ "inputs" ] attrs = node [ "attrs" ] input_node_id = kwargs [ "index_lookup" ] [ inputs [ 0 ] [ 0 ] ] input_node = proc_nodes [ input_node_id ] . name blksize = int ( attrs . get ( "block_size" , 0 ) ) node = onnx . helper . make_node ( "DepthToSpace" , [ input_node ] , [ name ] , blocksize = blksize , name = name , ) return [ node ]
short_docstring: Map MXNet's depth_to_space operator attributes to onnx's
  DepthToSpace operator and return the created node.
short_docstring_tokens: Map MXNet ' s depth_to_space operator attributes to onnx ' s DepthToSpace operator and return the created node .
comment: """Map MXNet's depth_to_space operator attributes to onnx's
      DepthToSpace operator and return the created node.
      """