OperatorDefinition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines the interface of an Operator.
Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.
Attributes |
|
---|---|
Name | Description |
operator |
str
The name of this operator. Tentatively A-Z][a-zA-Z0-9] *, e.g., BboxCounter,
PetDetector, PetDetector1.
|
input_args |
MutableSequence[google.cloud.visionai_v1.types.OperatorDefinition.ArgumentDefinition]
Declares input arguments. |
output_args |
MutableSequence[google.cloud.visionai_v1.types.OperatorDefinition.ArgumentDefinition]
Declares output arguments. |
attributes |
MutableSequence[google.cloud.visionai_v1.types.OperatorDefinition.AttributeDefinition]
Declares the attributes. |
resources |
google.cloud.visionai_v1.types.ResourceSpecification
The resources for running the operator. |
short_description |
str
Short description of the operator. |
description |
str
Full description of the operator. |
Classes
ArgumentDefinition
ArgumentDefinition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines an argument to an operator.
Used for both inputs and outputs.
AttributeDefinition
AttributeDefinition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines an attribute of an operator.