from mlflow.entities._mlflow_object import _MlflowObject from mlflow.protos.service_pb2 import ModelInput as ProtoModelInput [docs]class LoggedModelInput(_MlflowObject): """ModelInput object associated with a Run.""" def __init__(self, model_id: str): self._model_id = model_id def __eq__(self, other: _MlflowObject) -> bool: if type(other) is type(self): return self.__dict__ == other.__dict__ return False @property def model_id(self) -> str: """Model ID.""" return self._model_id [docs] def to_proto(self): return ProtoModelInput(model_id=self._model_id) [docs] @classmethod def from_proto(cls, proto): return cls(proto.model_id)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4