[TF FE] Switch off TF1 While support totally (#20774)
* [TF FE] Switch off TF1 While support totally This is a total switch off due to GPU limitation Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> * Need additional fallback in Enter to avoid shapes problem * Disable tests with While op Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> * Disable layer test for TF1 While * Remove extra spaces --------- Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This commit is contained in:
1 parent
38cd138d0d
commit
38b6092120
5 files changed
+10
-3
No files matched your search
@@ -22,6 +22,9 @@ OutputVector translate_enter_op(const NodeContext& node) {
|
||||
auto data = node.get_input(0);
|
||||
auto frame_name = node.get_attribute<string>("frame_name");
|
||||
|
||||
// TODO 123651: remove this fallback to the legacy FE once GPU fixes dynamism for Loop operation
|
||||
TENSORFLOW_OP_VALIDATION(node, false, "Fallback to legacy FE: Switch off TF1 While support due to GPU limitation");
|
||||
|
||||
auto enter_node = make_shared<Enter>(data, frame_name, node.get_decoder());
|
||||
set_node_name(node.get_name(), enter_node);
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@ OutputVector translate_loop_cond_op(const NodeContext& node) {
|
||||
default_op_checks(node, 1, {"LoopCond"});
|
||||
auto input = node.get_input(0);
|
||||
|
||||
// TODO 123651: remove this fallback to the legacy FE once GPU fixes dynamism for Loop operation
|
||||
TENSORFLOW_OP_VALIDATION(node, false, "Fallback to legacy FE: Switch off TF1 While support due to GPU limitation");
|
||||
|
||||
auto loop_cond_node = make_shared<LoopCond>(input, node.get_decoder());
|
||||
set_node_name(node.get_name(), loop_cond_node);
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ TEST(FrontEndConvertModelTest, test_unsupported_tf1_while_and_incorrect_less_tra
|
||||
}
|
||||
}
|
||||
|
||||
TEST(FrontEndConvertModelTest, conversion_with_unknown_exception) {
|
||||
TEST(FrontEndConvertModelTest, DISABLED_conversion_with_unknown_exception) {
|
||||
shared_ptr<Model> model = nullptr;
|
||||
try {
|
||||
auto conv_ext =
|
||||
|
||||
Reference in new issue
Block a user