ch.device



The torch device on which the pipeline is located.



to

<
source
>
(
torch_device: typing.Union[str, torch.device, NoneType] = None
torch_dtype: typing.Optional[torch.dtype] = None
silence_dtype_warnings: bool = False

)




components

<
source
>
(
)



The self.components property can be useful to run different pipelines with the same weights and
configurations to not have to re-allocate memory.

Examples:


	Copied
>>> from di