View source on GitHub |
Sources to extract PushedModel data for a model card.
model_card_toolkit.ModelSource(
pushed_model_path: Optional[str] = '',
pushed_model_artifact: Optional[metadata_store_pb2.Artifact] = None
)
Provide exactly one of pushed_model_path
or pushed_model_artifact
.
Attributes | |
---|---|
pushed_model_path
|
The path of a PushedModel. |
pushed_model_artifact
|
The MLMD artifact for a PushedModel. |
Methods
__eq__
__eq__(
other
)
Class Variables | |
---|---|
pushed_model_artifact |
None
|
pushed_model_path |
''
|