pub struct IAttentionOutputLayer { /* private fields */ }Expand description
IAttentionOutputLayer
This layer represents an output of an IAttention.
This layer is automatically created when an IAttention is created. Clients typically do not
deal with the layer directly, but instead getting its output via IAttention::getOutput.
An IAttentionOutputLayer has one input and one output.
Trait Implementations§
Source§impl AsLayer for IAttentionOutputLayer
impl AsLayer for IAttentionOutputLayer
Source§impl AsLayerTyped for IAttentionOutputLayer
impl AsLayerTyped for IAttentionOutputLayer
Source§impl AsRef<IAttentionBoundaryLayer> for IAttentionOutputLayer
impl AsRef<IAttentionBoundaryLayer> for IAttentionOutputLayer
Source§fn as_ref(self: &IAttentionOutputLayer) -> &IAttentionBoundaryLayer
fn as_ref(self: &IAttentionOutputLayer) -> &IAttentionBoundaryLayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl ExternType for IAttentionOutputLayer
impl ExternType for IAttentionOutputLayer
Source§impl MakeCppStorage for IAttentionOutputLayer
impl MakeCppStorage for IAttentionOutputLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut IAttentionOutputLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut IAttentionOutputLayer
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 IAttentionOutputLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut IAttentionOutputLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for IAttentionOutputLayer
impl !RefUnwindSafe for IAttentionOutputLayer
impl !Send for IAttentionOutputLayer
impl !Sync for IAttentionOutputLayer
impl Unpin for IAttentionOutputLayer
impl UnsafeUnpin for IAttentionOutputLayer
impl UnwindSafe for IAttentionOutputLayer
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