-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GPU] add convert precision for converting bool to u8 (#28654)
### Details: - *Add abs + ceiling + clamp before convert when convert is changed from bool to u8* ### Tickets: - *CVS-160217*
- Loading branch information
1 parent
4c01a98
commit 0213116
Showing
4 changed files
with
158 additions
and
2 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
22 changes: 22 additions & 0 deletions
22
...ugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/conversion.hpp
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,22 @@ | ||
// Copyright (C) 2023 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#pragma once | ||
|
||
#include "shared_test_classes/base/ov_subgraph.hpp" | ||
#include "common_test_utils/ov_tensor_utils.hpp" | ||
#include "gtest/gtest.h" | ||
#include "single_op_tests/conversion.hpp" | ||
|
||
|
||
namespace ov { | ||
namespace test { | ||
|
||
class ConvertToBooleanLayerTest : public ConversionLayerTest { | ||
protected: | ||
void generate_inputs(const std::vector<ov::Shape>& targetInputStaticShapes) override; | ||
}; | ||
|
||
} // namespace test | ||
} // namespace ov |