NVIDIA Morpheus (24.06)
(Latest Version)

morpheus.pipeline.stage_schema.StageSchema

class StageSchema(stage)[source]

Bases: object

Attributes
input_schema

Single port variant of input_schemas.

input_schemas

Return all input schemas, one for each input port.

input_type

Single port variant of input_types.

input_types

Return the type associated with each input port.

output_schema

Single port variant of output_schemas.

output_schemas

Return all output schemas, one for each output port.

property input_schema: morpheus.pipeline.stage_schema.PortSchema

Single port variant of input_schemas. Will fail if there are multiple input ports.

property input_schemas: list[morpheus.pipeline.stage_schema.PortSchema]

Return all input schemas, one for each input port.

property input_type: type

Single port variant of input_types. Will fail if there are multiple input ports.

property input_types: list[type]

Return the type associated with each input port.

Convenience function for calling port_schema.get_type() for each element in input_schemas.

property output_schema: morpheus.pipeline.stage_schema.PortSchema

Single port variant of output_schemas. Will fail if there are multiple output ports.

property output_schemas: list[morpheus.pipeline.stage_schema.PortSchema]

Return all output schemas, one for each output port.

Previous morpheus.pipeline.stage_schema.PortSchema
Next morpheus.service
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.