pub struct RotaryEncodingRecord<B: Backend> {
pub freq_complex: <Tensor<B, 3> as Module<B>>::Record,
pub theta: <Tensor<B, 1> as Module<B>>::Record,
pub start_offset: <usize as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§freq_complex: <Tensor<B, 3> as Module<B>>::RecordThe module record associative type.
theta: <Tensor<B, 1> as Module<B>>::RecordThe module record associative type.
start_offset: <usize as Module<B>>::RecordThe module record associative type.
Trait Implementations§
Source§impl<B: Backend> Record<B> for RotaryEncodingRecord<B>
impl<B: Backend> Record<B> for RotaryEncodingRecord<B>
Source§type Item<S: PrecisionSettings> = RotaryEncodingRecordItem<B, S>
type Item<S: PrecisionSettings> = RotaryEncodingRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> Freeze for RotaryEncodingRecord<B>
impl<B> RefUnwindSafe for RotaryEncodingRecord<B>
impl<B> Send for RotaryEncodingRecord<B>
impl<B> Sync for RotaryEncodingRecord<B>
impl<B> Unpin for RotaryEncodingRecord<B>
impl<B> UnwindSafe for RotaryEncodingRecord<B>
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