-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TF FE] Support complex tensors for Reverse,ReverseV2 operations #23395
Conversation
@@ -116,6 +135,26 @@ OutputVector translate_reverse_v2_op(const NodeContext& node) { | |||
std::vector<int64_t> axes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update above:
default_op_checks(node, 2, {"ReverseV2"}, true);
Otherwise, it means complex type is not support for ReverseV2
auto reversed_real_part = translate_reverse_base_op(node, input_real, axes); | ||
auto reversed_imag_part = translate_reverse_base_op(node, input_imag, axes); | ||
|
||
auto reversed = make_shared<v0::Complex>(reversed_real_part[0], reversed_imag_part[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we do not have Complex
operation in our OV opset.
@@ -30,3 +31,49 @@ def create_reverse_net(self, shape, dims): | |||
def test_reverse_basic(self, params, ie_device, precision, ir_version, temp_dir): | |||
self._test(*self.create_reverse_net(**params), | |||
ie_device, precision, ir_version, temp_dir=temp_dir) | |||
|
|||
class TestReverseComplex(CommonTFLayerTest): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please run this layer test locally on your machine. It should not be passing now because we have a build issue in the code above:)
build_jenkins |
@rkazants can you please guide me on how to run tests locally, I tried but I'm not able to build it. |
Hi @MonalSD, Please build OpenVINO locally on your machine. In build directory you should receive After successful build and installation, install all reqs for running layer tests:
Best regards, |
Hie @rkazants I tried to build it ... It's still failing I'll try again and get back to you on this. |
Please share what kind of error are you getting? And what step? |
|
try |
@rkazants I tried to build it for 3-4 times but it's now failing on ERROR2. |
@rkazants I tried a lot build isn't passing is there any other way to resolve this? So, that we can move forward |
Hi @MonalSD, Here are my steps I follow on Windows:
Here are my steps on Linux:
|
@rkazants tried this also still the build is failing |
|
This PR will be closed in a week because of 2 weeks of no activity. |
@rkazants how to proceed further. |
@rkazants please review |
This PR will be closed in a week because of 2 weeks of no activity. |
This PR was closed because it has been stalled for 2 week with no activity. |
Details: