class_docstr: NumpyFormat:
class_docstr_tok: ["NumpyFormat",":"]
code: def to_dict(self):
      return {
          "_NP": True,
          "dtype": NumpyFormat.from_numpyt_type(self._data.dtype),
          "data": self._data.tolist(),
      }
  
imports: import json
  import numpy
  from towhee.runtime.data_queue import Empty
label_desc: Use image node_id 2 for calling the NumpyFormat obj's underlying member method code with example usage: obj.to_dict() and returns: dict