tfx.v1.types.standard_artifacts.Integer
Stay organized with collections
Save and categorize content based on your preferences.
Integer-typed artifact.
Inherits From: Artifact
tfx.v1.types.standard_artifacts.Integer(
*args, **kwargs
)
Integer value artifacts are encoded as a decimal string.
Attributes |
value
|
Value stored in the artifact.
|
Methods
annotate_as
@classmethod
annotate_as(
type_annotation: Optional[Type[SystemArtifact]] = None
)
Annotate the value artifact type with a system artifact class.
Example usage:
from tfx import v1 as tfx
OutputArtifact = tfx.dsl.components.OutputArtifact
String = tfx.types.standard_artifacts.String
Model = tfx.dsl.standard_annotations.Model
@tfx.dsl.components.component
def MyTrainer(
model: OutputArtifact[String.annotate_as(Model)]
):
...
Args |
type_annotation
|
the standard annotations used to annotate the value
artifact type. The possible values are in
tfx.v1.dsl.standard_annotations .
|
Returns |
A subclass of the method caller class (e.g., standard_artifacts.String,
standard_artifacts.Float) with TYPE_ANNOTATION attribute set to be
type_annotation ; returns the original class iftype_annotation is None.
|
Class Variables |
PROPERTIES
|
None
|
TYPE_ANNOTATION
|
None
|
TYPE_NAME
|
'Integer'
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-03 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-05-03 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-03 UTC."],[],[]]