pub struct IGridSampleLayer { /* private fields */ }Expand description
! ! \class IGridSampleLayer ! ! \brief A GridSample layer in a network definition. ! ! This layer uses an input tensor and a grid tensor to produce an interpolated output tensor. ! The input and grid tensors must be shape tensors of rank 4. The only supported SampleMode ! values are SampleMode::kCLAMP, SampleMode::kFILL, and SampleMode::kREFLECT. ! ! \warning Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI. !
Trait Implementations§
Source§impl ExternType for IGridSampleLayer
impl ExternType for IGridSampleLayer
Source§impl MakeCppStorage for IGridSampleLayer
impl MakeCppStorage for IGridSampleLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut IGridSampleLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut IGridSampleLayer
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut IGridSampleLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut IGridSampleLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for IGridSampleLayer
impl !RefUnwindSafe for IGridSampleLayer
impl !Send for IGridSampleLayer
impl !Sync for IGridSampleLayer
impl !Unpin for IGridSampleLayer
impl UnwindSafe for IGridSampleLayer
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