monai.deploy.operators.IOMapping¶
- class monai.deploy.operators.IOMapping(label, data_type, storage_type)[source]¶
Bases:
object
This object holds an I/O definition for an operator.
Creates an object holding an operator I/O definitions.
Limitations apply with the combination of data_type and storage_type, which will be validated at runtime.
- Parameters
label (str) – Label for the operator input or output.
data_type (Type) – Datatype of the I/O data content.
storage_type (IOType) – The storage type expected, i.e. IN_MEMORY or DISK.
Methods
__init__
(label, data_type, storage_type)Creates an object holding an operator I/O definitions.
- __init__(label, data_type, storage_type)[source]¶
Creates an object holding an operator I/O definitions.
Limitations apply with the combination of data_type and storage_type, which will be validated at runtime.
- Parameters
label (str) – Label for the operator input or output.
data_type (Type) – Datatype of the I/O data content.
storage_type (IOType) – The storage type expected, i.e. IN_MEMORY or DISK.