pub struct ProviderCrossentropyResult {
pub losses: GpuTensorHandle,
}Expand description
Provider-side cross-entropy result containing per-element loss terms.
Fields§
§losses: GpuTensorHandleTrait Implementations§
Source§impl Clone for ProviderCrossentropyResult
impl Clone for ProviderCrossentropyResult
Source§fn clone(&self) -> ProviderCrossentropyResult
fn clone(&self) -> ProviderCrossentropyResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProviderCrossentropyResult
impl RefUnwindSafe for ProviderCrossentropyResult
impl Send for ProviderCrossentropyResult
impl Sync for ProviderCrossentropyResult
impl Unpin for ProviderCrossentropyResult
impl UnsafeUnpin for ProviderCrossentropyResult
impl UnwindSafe for ProviderCrossentropyResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more