Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
AXERA-TECH
/
FireRedASR-AED
like
0
Follow
AXERA
82
License:
apache-2.0
Model card
Files
Files and versions
xet
Community
main
FireRedASR-AED
/
cpp
/
src
/
librosa
/
eigen3
/
failtest
/
swap_2.cpp
inoryQwQ
Shorten kv cache
90f0b29
2 months ago
raw
Copy download link
history
blame
contribute
delete
210 Bytes
#
include
"../Eigen/Core"
using
namespace
Eigen;
int
main
()
{
VectorXf
a
(
10
)
,
b
(
10
)
;
VectorXf
const
&
ac
(a)
;
#
ifdef
EIGEN_SHOULD_FAIL_TO_BUILD
b.
swap
(ac);
#
else
b.
swap
(ac.
const_cast_derived
());
#
endif
}