class_docstr: NNOp to triton model.
class_docstr_tok: ["NNOp","to","triton","model","."]
code: def __init__(
      self,
      model_root: str,
      op: "NNOperator",
      model_name: str,
      node_conf: "NodeConfig",
      server_conf: dict,
  ):
      self._model_root = model_root
      self._op = op
      self._name = model_name
      self._op_conf = node_conf.server
      self._server_conf = server_conf
      self._triton_files = TritonFiles(model_root, self._name)
      self._model_format_priority = self._server_conf.get(
          constant.FORMAT_PRIORITY, []
      )
      self._backend = None
  
file_path: towhee/towhee/serve/triton/model_to_triton.py
imports: import traceback
  from towhee.utils.log import engine_log
  from towhee.utils.onnx_utils import onnx
  from towhee.serve.triton import constant
  from towhee.serve.triton.triton_config_builder import create_modelconfig
  from towhee.serve.triton.triton_files import TritonFiles
label_desc: Use image node_id 1 to create a new ModelToTriton object  with example: obj = ModelToTriton(model_root, op, model_name, node_conf, server_conf)