pub struct IUnsqueezeLayer { /* private fields */ }Expand description
IUnsqueezeLayer
Layer that represents an unsqueeze operation, which reshapes the first input tensor by inserting unit-length dimensions to the output at the axes specified by the second input tensor.
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
Trait Implementations§
Source§impl AsLayer for IUnsqueezeLayer
impl AsLayer for IUnsqueezeLayer
Source§impl AsLayerTyped for IUnsqueezeLayer
impl AsLayerTyped for IUnsqueezeLayer
Source§impl AsRef<ILayer> for IUnsqueezeLayer
impl AsRef<ILayer> for IUnsqueezeLayer
Source§fn as_ref(self: &IUnsqueezeLayer) -> &ILayer
fn as_ref(self: &IUnsqueezeLayer) -> &ILayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl ExternType for IUnsqueezeLayer
impl ExternType for IUnsqueezeLayer
Source§impl MakeCppStorage for IUnsqueezeLayer
impl MakeCppStorage for IUnsqueezeLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut IUnsqueezeLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut IUnsqueezeLayer
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 IUnsqueezeLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut IUnsqueezeLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for IUnsqueezeLayer
impl !RefUnwindSafe for IUnsqueezeLayer
impl !Send for IUnsqueezeLayer
impl !Sync for IUnsqueezeLayer
impl Unpin for IUnsqueezeLayer
impl UnsafeUnpin for IUnsqueezeLayer
impl UnwindSafe for IUnsqueezeLayer
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