pass_through_device_converter
¶
PassThroughDeviceConverter
¶
A converter that returns the input device as is.
It is used internally in Tranqu as a placeholder when a converter is not needed during transpilation.
convert
¶
convert(device: Any) -> Any
Return the input device as is.
Parameters:
-
device(Any) –The device to be converted.
Returns:
-
Any(Any) –The device returned without any conversion.