pub struct TensorInputsExpand<Q: Float, K: Float, V: Float, M: Numeric> {
pub query: <Tensor<Line<Q>> as CubeType>::ExpandType,
pub key: <Tensor<Line<K>> as CubeType>::ExpandType,
pub value: <Tensor<Line<V>> as CubeType>::ExpandType,
pub mask: <CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType,
}Fields§
§query: <Tensor<Line<Q>> as CubeType>::ExpandType§key: <Tensor<Line<K>> as CubeType>::ExpandType§value: <Tensor<Line<V>> as CubeType>::ExpandType§mask: <CubeOption<Tensor<Line<M>>> as CubeType>::ExpandTypeTrait Implementations§
Auto Trait Implementations§
impl<Q, K, V, M> !Send for TensorInputsExpand<Q, K, V, M>
impl<Q, K, V, M> !Sync for TensorInputsExpand<Q, K, V, M>
impl<Q, K, V, M> Freeze for TensorInputsExpand<Q, K, V, M>where
<Tensor<Line<Q>> as CubeType>::ExpandType: Freeze,
<Tensor<Line<K>> as CubeType>::ExpandType: Freeze,
<Tensor<Line<V>> as CubeType>::ExpandType: Freeze,
<CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType: Freeze,
impl<Q, K, V, M> RefUnwindSafe for TensorInputsExpand<Q, K, V, M>where
<Tensor<Line<Q>> as CubeType>::ExpandType: RefUnwindSafe,
<Tensor<Line<K>> as CubeType>::ExpandType: RefUnwindSafe,
<Tensor<Line<V>> as CubeType>::ExpandType: RefUnwindSafe,
<CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType: RefUnwindSafe,
impl<Q, K, V, M> Unpin for TensorInputsExpand<Q, K, V, M>where
<Tensor<Line<Q>> as CubeType>::ExpandType: Unpin,
<Tensor<Line<K>> as CubeType>::ExpandType: Unpin,
<Tensor<Line<V>> as CubeType>::ExpandType: Unpin,
<CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType: Unpin,
impl<Q, K, V, M> UnsafeUnpin for TensorInputsExpand<Q, K, V, M>where
<Tensor<Line<Q>> as CubeType>::ExpandType: UnsafeUnpin,
<Tensor<Line<K>> as CubeType>::ExpandType: UnsafeUnpin,
<Tensor<Line<V>> as CubeType>::ExpandType: UnsafeUnpin,
<CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType: UnsafeUnpin,
impl<Q, K, V, M> UnwindSafe for TensorInputsExpand<Q, K, V, M>where
<Tensor<Line<Q>> as CubeType>::ExpandType: UnwindSafe,
<Tensor<Line<K>> as CubeType>::ExpandType: UnwindSafe,
<Tensor<Line<V>> as CubeType>::ExpandType: UnwindSafe,
<CubeOption<Tensor<Line<M>>> as CubeType>::ExpandType: UnwindSafe,
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