class_docstr: Mock InferInput
class_docstr_tok: ["Mock","InferInput"]
code: def set_data_from_numpy(self, tensor: "ndarray"):
      self._data = tensor
  
imports: from typing import List
  import unittest
  from unittest import mock
  from pathlib import Path
  from tempfile import TemporaryDirectory
  import numpy
  from towhee import pipe
  from towhee.serve.triton import triton_client
  from towhee.utils.thirdparty.dill_util import dill
  import towhee.serve.triton.bls.pipeline_model
  from towhee.serve.triton.bls.python_backend_wrapper import pb_utils
  from towhee.utils.serializer import from_json
label_desc: Use image node_id 2 for calling the MockInferInput obj's underlying member method code with example usage: obj.set_data_from_numpy(tensor) without return types