pub struct GridSampleDescriptor {
pub n: i32,
pub c: i32,
pub ih: i32,
pub iw: i32,
pub oh: i32,
pub ow: i32,
pub element: ElementKind,
}Expand description
Descriptor for a grid_sample op.
Fields§
§n: i32Batch.
c: i32Channels.
ih: i32Input height.
iw: i32Input width.
oh: i32Output height.
ow: i32Output width.
element: ElementKindValue element type.
Trait Implementations§
Source§impl Clone for GridSampleDescriptor
impl Clone for GridSampleDescriptor
Source§fn clone(&self) -> GridSampleDescriptor
fn clone(&self) -> GridSampleDescriptor
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 GridSampleDescriptor
Auto Trait Implementations§
impl Freeze for GridSampleDescriptor
impl RefUnwindSafe for GridSampleDescriptor
impl Send for GridSampleDescriptor
impl Sync for GridSampleDescriptor
impl Unpin for GridSampleDescriptor
impl UnsafeUnpin for GridSampleDescriptor
impl UnwindSafe for GridSampleDescriptor
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