Struct candle_transformers::models::rwkv_v5::StatePerLayer
source · pub struct StatePerLayer {
pub extract_key_value: Tensor,
pub linear_attention: Tensor,
pub feed_forward: Tensor,
}
Fields§
§extract_key_value: Tensor
§linear_attention: Tensor
§feed_forward: Tensor
Auto Trait Implementations§
impl Freeze for StatePerLayer
impl !RefUnwindSafe for StatePerLayer
impl Send for StatePerLayer
impl Sync for StatePerLayer
impl Unpin for StatePerLayer
impl !UnwindSafe for StatePerLayer
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