class_docstr: mock response class for triton client
class_docstr_tok: ["mock","response","class","for","triton","client"]
code: def as_numpy(self, name):
      return pb_utils.get_output_tensor_by_name(
          self._outputs, name
      ).as_numpy()
  
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 MockRes obj's underlying member method code with example usage: obj.as_numpy(name) and returns: pb_utils