class_docstr: The TritonClient to access model on Triton server.
  
  Args:
      model_name (`str`):
          The name of the model.
      input_names (`List[str]`):
          The list of the input names.
      output_names (`List[str]`):
          The list of the output names.
code: def _torch_tensor_to_pbtenor(self, name: str, array: "Tensor"):
      return pb_utils.Tensor(
          name,
          array.numpy()
          if array.device.type == "cpu"
          else array.cpu().numpy(),
      )
  
imports: import torch
  from typing import List
  from towhee.serve.triton.bls.python_backend_wrapper import pb_utils
label_desc: Use image node_id 2 for calling the TritonClient obj's underlying member method code with example usage: obj._torch_tensor_to_pbtenor(name, array) and returns: pb_utils