pub struct DequantizePerTensorBackwardDescriptor {
pub numel: i32,
pub input_element: ElementKind,
pub output_element: ElementKind,
}Expand description
Descriptor for a dequantize_per_tensor backward op.
Fields§
§numel: i32Total element count.
input_element: ElementKindFP element kind (input gradient dtype).
output_element: ElementKindFW’s int input element kind (s8 or u8).
Trait Implementations§
Source§impl Clone for DequantizePerTensorBackwardDescriptor
impl Clone for DequantizePerTensorBackwardDescriptor
Source§fn clone(&self) -> DequantizePerTensorBackwardDescriptor
fn clone(&self) -> DequantizePerTensorBackwardDescriptor
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 moreimpl Copy for DequantizePerTensorBackwardDescriptor
Auto Trait Implementations§
impl Freeze for DequantizePerTensorBackwardDescriptor
impl RefUnwindSafe for DequantizePerTensorBackwardDescriptor
impl Send for DequantizePerTensorBackwardDescriptor
impl Sync for DequantizePerTensorBackwardDescriptor
impl Unpin for DequantizePerTensorBackwardDescriptor
impl UnsafeUnpin for DequantizePerTensorBackwardDescriptor
impl UnwindSafe for DequantizePerTensorBackwardDescriptor
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