AssetCard
- final class fairseq2.assets.AssetCard(metadata, base=None, *, value_converter=None)[source]
Bases:
object
Holds information about an asset.
- Parameters:
metadata (MutableMapping[str, Any]) – The metadata to be held in the card. Each key-value item should contain a specific piece of information about the asset.
base (Optional[AssetCard]) – The card that this card derives from.
value_converter (Optional[ValueConverter]) – The
ValueConverter
instance to use. IfNone
, the default instance will be used.