parameters: (self, uri)
docstring: Initializes the deployment plugin, sets the triton model repo
docstring_summary: Initializes the deployment plugin, sets the triton model repo
docstring_tokens: Initializes the deployment plugin sets the triton model repo
function: def __init__(self, uri):
          """
          Initializes the deployment plugin, sets the triton model repo
          """
          super(TritonPlugin, self).__init__(target_uri=uri)
          self.server_config = Config()
          triton_url, self.triton_model_repo = self._get_triton_server_config()
          self.supported_flavors = ['triton', 'onnx']  # need to add other flavors
          # URL cleaning for constructing Triton client
          ssl = False
          if triton_url.startswith("http://"):
              triton_url = triton_url[len("http://"):]
          elif triton_url.startswith("https://"):
              triton_url = triton_url[len("https://"):]
              ssl = True
          self.triton_client = tritonhttpclient.InferenceServerClient(
              url=triton_url, ssl=ssl)
function_tokens: def __init__ ( self , uri ) : super ( TritonPlugin , self ) . __init__ ( target_uri = uri ) self . server_config = Config ( ) triton_url , self . triton_model_repo = self . _get_triton_server_config ( ) self . supported_flavors = [ 'triton' , 'onnx' ] # need to add other flavors # URL cleaning for constructing Triton client ssl = False if triton_url . startswith ( "http://" ) : triton_url = triton_url [ len ( "http://" ) : ] elif triton_url . startswith ( "https://" ) : triton_url = triton_url [ len ( "https://" ) : ] ssl = True self . triton_client = tritonhttpclient . InferenceServerClient ( url = triton_url , ssl = ssl )