code: def _asarray(proto):
      return numpy_helper.to_array(proto).reshape(tuple(proto.dims))
  
file_path: jax/examples/onnx2xla.py
imports: from io import BytesIO
  import hashlib
  import urllib.request
  import sys
  import numpy
  import onnx
  from onnx import numpy_helper
  import jax.numpy
  from jax import jit, grad
  from jax import lax
label_desc: Use image node_id 1 for calling a global function with example usage: _asarray(proto) and returns: numpy_helper