Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::OperatorDefinition.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>) — Declares the attributes.
#attributes=
def attributes=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>
- value (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>) — Declares the attributes.
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>) — Declares the attributes.
#description
def description() -> ::String
- (::String) — Full description of the operator.
#description=
def description=(value) -> ::String
- value (::String) — Full description of the operator.
- (::String) — Full description of the operator.
#input_args
def input_args() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares input arguments.
#input_args=
def input_args=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
- value (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares input arguments.
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares input arguments.
#operator
def operator() -> ::String
-
(::String) — The name of this operator.
Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.
#operator=
def operator=(value) -> ::String
-
value (::String) — The name of this operator.
Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.
-
(::String) — The name of this operator.
Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.
#output_args
def output_args() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares output arguments.
#output_args=
def output_args=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
- value (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares output arguments.
- (::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>) — Declares output arguments.
#resources
def resources() -> ::Google::Cloud::VisionAI::V1::ResourceSpecification
- (::Google::Cloud::VisionAI::V1::ResourceSpecification) — The resources for running the operator.
#resources=
def resources=(value) -> ::Google::Cloud::VisionAI::V1::ResourceSpecification
- value (::Google::Cloud::VisionAI::V1::ResourceSpecification) — The resources for running the operator.
- (::Google::Cloud::VisionAI::V1::ResourceSpecification) — The resources for running the operator.
#short_description
def short_description() -> ::String
- (::String) — Short description of the operator.
#short_description=
def short_description=(value) -> ::String
- value (::String) — Short description of the operator.
- (::String) — Short description of the operator.