ONE - On-device Neural Engine
|
Functions | |
ruy::CachePolicy | ToRuyCachePolicy (CachePolicy cache_policy) |
template<typename Scalar , typename DataPointer > | |
void | MakeRuyMatrix (const MatrixParams< Scalar > ¶ms, DataPointer data_ptr, ruy::Matrix< Scalar > *dst, bool use_caching=false) |
template<typename DstScalar , QuantizationFlavor quantization_flavor> | |
void | MakeRuyMulParams (const GemmParams< std::int32_t, DstScalar, quantization_flavor > ¶ms, ruy::MulParams< std::int32_t, DstScalar > *ruy_mul_params) |
template<QuantizationFlavor quantization_flavor> | |
void | MakeRuyMulParams (const GemmParams< std::int32_t, std::int32_t, quantization_flavor > ¶ms, ruy::MulParams< std::int32_t, std::int32_t > *ruy_mul_params) |
void nnfw::cker::ruy_support::MakeRuyMatrix | ( | const MatrixParams< Scalar > & | params, |
DataPointer | data_ptr, | ||
ruy::Matrix< Scalar > * | dst, | ||
bool | use_caching = false |
||
) |
Definition at line 51 of file RuySupport.h.
References nnfw::cker::MatrixParams< Scalar >::cache_policy, nnfw::cker::MatrixParams< Scalar >::cols, nnfw::cker::kColMajor, nnfw::ruy::kColMajor, nnfw::ruy::kRowMajor, nnfw::cker::MatrixParams< Scalar >::order, nnfw::cker::MatrixParams< Scalar >::rows, ToRuyCachePolicy(), and nnfw::cker::MatrixParams< Scalar >::zero_point.
void nnfw::cker::ruy_support::MakeRuyMulParams | ( | const GemmParams< std::int32_t, DstScalar, quantization_flavor > & | params, |
ruy::MulParams< std::int32_t, DstScalar > * | ruy_mul_params | ||
) |
Definition at line 69 of file RuySupport.h.
References nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::bias, nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::clamp_max, nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::clamp_min, nnfw::cker::kIntegerWithPerRowMultiplier, nnfw::cker::kIntegerWithUniformMultiplier, nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_exponent, nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_exponent_perchannel, nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint, and nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::multiplier_fixedpoint_perchannel.
void nnfw::cker::ruy_support::MakeRuyMulParams | ( | const GemmParams< std::int32_t, std::int32_t, quantization_flavor > & | params, |
ruy::MulParams< std::int32_t, std::int32_t > * | ruy_mul_params | ||
) |
Definition at line 90 of file RuySupport.h.
References nnfw::cker::GemmParams< AccumScalar, DstScalar, quantization_flavor >::bias.
|
inline |
Definition at line 34 of file RuySupport.h.
References nnfw::cker::kAlwaysCache, nnfw::ruy::kAlwaysCache, nnfw::cker::kCacheIfLargeSpeedup, nnfw::ruy::kCacheIfLargeSpeedup, nnfw::cker::kNeverCache, and nnfw::ruy::kNeverCache.
Referenced by MakeRuyMatrix().