-
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
Revise logical and #6731
Revise logical and #6731
Conversation
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
inference-engine/tests/functional/inference_engine/serialization/single_layer/logical.cpp
Outdated
Show resolved
Hide resolved
docs/template_plugin/tests/functional/op_reference/logical_and.cpp
Outdated
Show resolved
Hide resolved
@pszmel, update with master, please. |
NGRAPH_TYPE_CASE(evaluate_logand, i32, arg0, arg1, out, broadcast_spec); | ||
NGRAPH_TYPE_CASE(evaluate_logand, i64, arg0, arg1, out, broadcast_spec); | ||
NGRAPH_TYPE_CASE(evaluate_logand, u32, arg0, arg1, out, broadcast_spec); | ||
NGRAPH_TYPE_CASE(evaluate_logand, u64, arg0, arg1, out, broadcast_spec); | ||
NGRAPH_TYPE_CASE(evaluate_logand, f16, arg0, arg1, out, broadcast_spec); | ||
NGRAPH_TYPE_CASE(evaluate_logand, f32, arg0, arg1, out, broadcast_spec); |
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.
Shouldn't you update has_evaluate()
types too?
openvino/ngraph/core/src/op/and.cpp
Lines 80 to 95 in 37ff06e
bool op::v1::LogicalAnd::has_evaluate() const | |
{ | |
NGRAPH_OP_SCOPE(v1_LogicalAnd_has_evaluate); | |
switch (get_input_element_type(0)) | |
{ | |
case ngraph::element::boolean: | |
case ngraph::element::i32: | |
case ngraph::element::i64: | |
case ngraph::element::u32: | |
case ngraph::element::u64: | |
case ngraph::element::f16: | |
case ngraph::element::f32: return true; | |
default: break; | |
} | |
return false; | |
} |
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.
Good point. Removed
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.
LGTM
* update docs * add host tensors validation * create type_prop tests * create serialization single layer test * create visitor test * create op_reference test * add logicalAnd to constants.py * create additional op_reference tests * add check for number of visited attributes in visitor test * update auto_broadcast description * remoove backend test * update LogicalNot params name * remove backend test from CMakeList * create util function for type_prop tests * update op_reference tests * remove typo in docs * remove unsupported types from evaluate * fix bug in op_reference test * refactor visitor test * update math formula in the spec * update has_evaluate types
* update docs * add host tensors validation * create type_prop tests * create serialization single layer test * create visitor test * create op_reference test * add logicalAnd to constants.py * create additional op_reference tests * add check for number of visited attributes in visitor test * update auto_broadcast description * remoove backend test * update LogicalNot params name * remove backend test from CMakeList * create util function for type_prop tests * update op_reference tests * remove typo in docs * remove unsupported types from evaluate * fix bug in op_reference test * refactor visitor test * update math formula in the spec * update has_evaluate types
* update docs * add host tensors validation * create type_prop tests * create serialization single layer test * create visitor test * create op_reference test * add logicalAnd to constants.py * create additional op_reference tests * add check for number of visited attributes in visitor test * update auto_broadcast description * remoove backend test * update LogicalNot params name * remove backend test from CMakeList * create util function for type_prop tests * update op_reference tests * remove typo in docs * remove unsupported types from evaluate * fix bug in op_reference test * refactor visitor test * update math formula in the spec * update has_evaluate types
Details:
Tickets: