pub struct ILoopBoundaryLayer { /* private fields */ }Expand description
ILoopBoundaryLayer
This is a base class for Loop boundary layers.
The loop boundary layers are used to define loops within a network, enabling the implementation of recurrences. The boundary layers for a loop are created by class ILoop.
There are four kinds of boundary layers.
- ITripLimitLayer: controls the number of loop iterations.
- IIterationLayer: iterates over an input tensor.
- IRecurrenceLayer: returns an initial value or value from the previous loop iteration.
- ILoopOutputLayer: generates an output tensor from the loop iterations.
Implementations§
Source§impl ILoopBoundaryLayer
impl ILoopBoundaryLayer
Sourcepub fn getLoop(self: &ILoopBoundaryLayer) -> *mut ILoop
pub fn getLoop(self: &ILoopBoundaryLayer) -> *mut ILoop
Get a pointer to ILoop associated with this boundary layer.
Trait Implementations§
Source§impl AsLayer for ILoopBoundaryLayer
impl AsLayer for ILoopBoundaryLayer
Source§impl AsLayerTyped for ILoopBoundaryLayer
impl AsLayerTyped for ILoopBoundaryLayer
Source§impl AsRef<ILayer> for ILoopBoundaryLayer
impl AsRef<ILayer> for ILoopBoundaryLayer
Source§fn as_ref(self: &ILoopBoundaryLayer) -> &ILayer
fn as_ref(self: &ILoopBoundaryLayer) -> &ILayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ILoopBoundaryLayer> for IRecurrenceLayer
impl AsRef<ILoopBoundaryLayer> for IRecurrenceLayer
Source§fn as_ref(self: &IRecurrenceLayer) -> &ILoopBoundaryLayer
fn as_ref(self: &IRecurrenceLayer) -> &ILoopBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ILoopBoundaryLayer> for ILoopOutputLayer
impl AsRef<ILoopBoundaryLayer> for ILoopOutputLayer
Source§fn as_ref(self: &ILoopOutputLayer) -> &ILoopBoundaryLayer
fn as_ref(self: &ILoopOutputLayer) -> &ILoopBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ILoopBoundaryLayer> for ITripLimitLayer
impl AsRef<ILoopBoundaryLayer> for ITripLimitLayer
Source§fn as_ref(self: &ITripLimitLayer) -> &ILoopBoundaryLayer
fn as_ref(self: &ITripLimitLayer) -> &ILoopBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ILoopBoundaryLayer> for IIteratorLayer
impl AsRef<ILoopBoundaryLayer> for IIteratorLayer
Source§fn as_ref(self: &IIteratorLayer) -> &ILoopBoundaryLayer
fn as_ref(self: &IIteratorLayer) -> &ILoopBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl ExternType for ILoopBoundaryLayer
impl ExternType for ILoopBoundaryLayer
Source§impl MakeCppStorage for ILoopBoundaryLayer
impl MakeCppStorage for ILoopBoundaryLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut ILoopBoundaryLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut ILoopBoundaryLayer
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 ILoopBoundaryLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut ILoopBoundaryLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for ILoopBoundaryLayer
impl !RefUnwindSafe for ILoopBoundaryLayer
impl !Send for ILoopBoundaryLayer
impl !Sync for ILoopBoundaryLayer
impl Unpin for ILoopBoundaryLayer
impl UnsafeUnpin for ILoopBoundaryLayer
impl UnwindSafe for ILoopBoundaryLayer
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