monai.deploy.core.output

monai.deploy.core.output(label='', data_type=<class 'object'>, storage_type=IOType.UNKNOWN)[source]

A decorator that adds output specification to the operator.

Parameters
  • label (str) – A label for the output port.

  • data_type (Type) – A data type of the output.

  • storage_type (Union[int, IOType]) – A storage type of the output.

Returns

A decorator that adds output specification to the operator.