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