[ARM CPU] Fix smoke_if tests (#17095)
* fix smoke if * fix smoke if - arm32 * review fix
This commit is contained in:
parent
6b44902bf2
commit
6ad80576b7
@ -61,9 +61,9 @@ bool AclEltwiseExecutor::init(const EltwiseAttrs &eltwiseAttrs, const std::vecto
|
||||
srcDescs[0]->getShape().getDims() != srcDescs[1]->getShape().getDims()) {
|
||||
auto dim_size = srcDescs[0]->getShape().getDims().size();
|
||||
auto mover = [&dim_size](TensorShape &_shape) {
|
||||
if (dim_size == 5) { std::swap(_shape[2], _shape[3]); }
|
||||
std::swap(_shape[1], _shape[2]);
|
||||
std::swap(_shape[0], _shape[1]);
|
||||
if (dim_size > 4) { std::swap(_shape[2], _shape[3]); }
|
||||
if (dim_size > 3) { std::swap(_shape[1], _shape[2]); }
|
||||
if (dim_size > 2) { std::swap(_shape[0], _shape[1]); }
|
||||
};
|
||||
if (dim_size < 5) {
|
||||
srcDataLayout[0] = srcDataLayout[1] = dstDataLayout[0] = DataLayout::NCHW;
|
||||
|
@ -203,10 +203,6 @@ std::vector<std::string> disabledTestPatterns() {
|
||||
retVector.emplace_back(R"(smoke_Snippets.*)");
|
||||
#endif
|
||||
|
||||
#if defined(OPENVINO_ARCH_ARM)
|
||||
retVector.emplace_back(R"(smoke_If/SimpleIfNotConstConditionAndDimsIncreaseTest.*)");
|
||||
#endif
|
||||
|
||||
#if defined(OPENVINO_ARCH_ARM64) || defined(OPENVINO_ARCH_ARM)
|
||||
retVector.emplace_back(R"(ONNXQuantizedModels/QuantizedModelsTests.*)");
|
||||
{
|
||||
@ -227,8 +223,6 @@ std::vector<std::string> disabledTestPatterns() {
|
||||
retVector.emplace_back(R"(smoke_AvgPool_ExplicitPad_CeilRounding/PoolingLayerTest.CompareWithRefs.*)");
|
||||
retVector.emplace_back(R"(smoke_TestsDFT_(1|2|3|4)d/DFTLayerTest.CompareWithRefs.*)");
|
||||
retVector.emplace_back(R"(MultipleLSTMCellTest/MultipleLSTMCellTest.CompareWithRefs.*)");
|
||||
retVector.emplace_back(R"(smoke_If/SimpleIfTest.CompareWithRefs.*)");
|
||||
retVector.emplace_back(R"(smoke_If/SimpleIfNotConstConditionTest.CompareWithRefs.*)");
|
||||
// invalid test: checks u8 precision for runtime graph, while it should be f32
|
||||
retVector.emplace_back(R"(smoke_NegativeQuantizedMatMulMultiplyFusion.*)");
|
||||
// int8 / code-generation specific
|
||||
|
Loading…
Reference in New Issue
Block a user