class_docstr: A helper class for handling relay functions from darknet model.
code: def _read_memory_buffer(self, shape, data, dtype=None):
      if dtype is None:
          dtype = self._dtype
      length = 1
      for x in shape:
          length *= x
      data_np = np.zeros(length, dtype=dtype)
      for i in range(length):
          data_np[i] = data[i]
      return data_np.reshape(shape)
  
imports: from enum import Enum
  import numpy
  import tvm
  from tvm.ir import IRModule
  from ..None import analysis
  from ..None import expr
  from ..None import function
  from .common import get_relay_op, new_var
label_desc: Use image node_id 2 for calling the GraphProto obj's underlying member method code with example usage: obj._read_memory_buffer(shape, data, dtype) and returns: data_np