Fix flaky eigen_mkldnn_contraction_kernel test
PiperOrigin-RevId: 249853404
This commit is contained in:
parent
36147a36e5
commit
300d9c7181
@ -166,7 +166,7 @@ TEST(EigenMkldnnTest, MkldnnGemmQInt8xQUInt8) {
|
||||
rhs.setRandom();
|
||||
// NOTE: 's8*u8 + s8*u8 -> s16' saturation might lead to incorrect results. In
|
||||
// practice in FusedConv2DBiasActivationKernel we use 7 bit inputs.
|
||||
rhs.clip(0, 127);
|
||||
rhs = rhs.clip(0, 127);
|
||||
|
||||
Eigen::array<Eigen::IndexPair<Eigen::DenseIndex>, 1> contract_dims;
|
||||
contract_dims[0].first = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user