pub enum Device { CPU, }
Device enum to specify the device to run the model on
source
TypeId
self
Returns the argument unchanged.
Span
Instrumented
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U
Self
Subscriber
WithDispatch