pub struct DequantizePerTensorDescriptor {
pub numel: i32,
pub input_element: ElementKind,
pub output_element: ElementKind,
}Expand description
Descriptor for a dequantize_per_tensor op.
Fields§
§numel: i32Total element count.
input_element: ElementKindOutput FP element kind (same as FW input).
output_element: ElementKindInput int element kind (s8 or u8 — the FW output dtype).
Trait Implementations§
Source§impl Clone for DequantizePerTensorDescriptor
impl Clone for DequantizePerTensorDescriptor
Source§fn clone(&self) -> DequantizePerTensorDescriptor
fn clone(&self) -> DequantizePerTensorDescriptor
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 DequantizePerTensorDescriptor
Auto Trait Implementations§
impl Freeze for DequantizePerTensorDescriptor
impl RefUnwindSafe for DequantizePerTensorDescriptor
impl Send for DequantizePerTensorDescriptor
impl Sync for DequantizePerTensorDescriptor
impl Unpin for DequantizePerTensorDescriptor
impl UnsafeUnpin for DequantizePerTensorDescriptor
impl UnwindSafe for DequantizePerTensorDescriptor
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