def __init__(self, tag: t.Union[(str, Tag)], predict_fn_name: str, device_id: str, partial_kwargs: t.Optional[t.Dict[(str, t.Any)]], name: t.Optional[str]=None):
    super().__init__(tag, name=name)
    self._device_id = device_id
    self._configure(device_id)
    self._predict_fn_name = predict_fn_name
    self._partial_kwargs: t.Dict[(str, t.Any)] = (partial_kwargs if (partial_kwargs is not None) else dict())
def __init__(self, tag: t.Union[(str, Tag)], predict_fn_name: str, device_id: str, partial_kwargs: t.Optional[t.Dict[(str, t.Any)]], name: t.Optional[str]=None):
    super().__init__(tag, name=name)
    self._device_id = device_id
    self._configure(device_id)
    self._predict_fn_name = predict_fn_name
    self._partial_kwargs: t.Dict[(str, t.Any)] = (partial_kwargs if (partial_kwargs is not None) else dict())