monai.deploy.core.input

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

A decorator that adds input specification to the operator.

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

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

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

Returns

A decorator that adds input specification to the operator.