pub struct OptimizedOps;Expand description
Optimized operations dispatcher 最適化演算ディスパッチャー
Implementations§
Source§impl OptimizedOps
impl OptimizedOps
Sourcepub fn qmatmul<Q: QuantizableInteger>(
a: &QuantizedTensor<Q>,
b: &QuantizedTensor<Q>,
) -> RusTorchResult<QuantizedTensor<Q>>
pub fn qmatmul<Q: QuantizableInteger>( a: &QuantizedTensor<Q>, b: &QuantizedTensor<Q>, ) -> RusTorchResult<QuantizedTensor<Q>>
Optimized quantized matrix multiplication 最適化量子化行列乗算
Sourcepub fn qconv2d<Q: QuantizableInteger>(
input: &QuantizedTensor<Q>,
weight: &QuantizedTensor<Q>,
bias: Option<&QuantizedTensor<Q>>,
stride: (usize, usize),
padding: (usize, usize),
) -> RusTorchResult<QuantizedTensor<Q>>
pub fn qconv2d<Q: QuantizableInteger>( input: &QuantizedTensor<Q>, weight: &QuantizedTensor<Q>, bias: Option<&QuantizedTensor<Q>>, stride: (usize, usize), padding: (usize, usize), ) -> RusTorchResult<QuantizedTensor<Q>>
Optimized quantized convolution 最適化量子化畳み込み
Auto Trait Implementations§
impl Freeze for OptimizedOps
impl RefUnwindSafe for OptimizedOps
impl Send for OptimizedOps
impl Sync for OptimizedOps
impl Unpin for OptimizedOps
impl UnwindSafe for OptimizedOps
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more