-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPU] [ARM64] jit eltwise: int8 support (#22687)
### Details: - *int8 support* ### Tickets: - *CVS-128643*
- Loading branch information
Showing
13 changed files
with
482 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/arm/eltwise_chain.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright (C) 2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#include <tuple> | ||
#include <string> | ||
#include <vector> | ||
|
||
#include "custom/subgraph_tests/src/classes/eltwise_chain.hpp" | ||
|
||
#include "shared_test_classes/base/ov_subgraph.hpp" | ||
#include "common_test_utils/node_builders/constant.hpp" | ||
#include "common_test_utils/node_builders/eltwise.hpp" | ||
#include "common_test_utils/ov_tensor_utils.hpp" | ||
|
||
using namespace CPUTestUtils; | ||
|
||
namespace ov { | ||
namespace test { | ||
using namespace ov::test::utils; | ||
using namespace ov::test::eltwise_chain; | ||
|
||
namespace { | ||
|
||
std::vector<std::vector<EltwiseTypes>> eltwiseOpsConvertInt8 = { | ||
{ EltwiseTypes::MULTIPLY }, | ||
{ EltwiseTypes::ADD }, | ||
{ EltwiseTypes::DIVIDE } | ||
}; | ||
|
||
INSTANTIATE_TEST_SUITE_P(smoke_EltwiseChain_MergeConvert_int8, EltwiseChainTest, | ||
::testing::Combine( | ||
::testing::ValuesIn(static_shapes_to_test_representation(inputShapesConvert())), | ||
::testing::Values(InputLayerType::CONSTANT), | ||
::testing::ValuesIn(inputPrecisionsConvert()), | ||
::testing::ValuesIn(eltwiseOpsConvertInt8), | ||
::testing::Values(false), | ||
::testing::ValuesIn({ov::element::i8, ov::element::u8}), | ||
::testing::Values(ov::test::utils::DEVICE_CPU)), | ||
EltwiseChainTest::getTestCaseName); | ||
|
||
} // namespace | ||
} // namespace test | ||
} // namespace ov |
Oops, something went wrong.