pub fn device_put<T: Tree<Native>>(x: &T) -> OnDevice<T>
Copies a pytree of Native values to the device of the runtime’s platform.
Native
Panics if no PJRT plugin is configured or the transfer fails.