-
Notifications
You must be signed in to change notification settings - Fork 239
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
Added TensorFlow support to nncf.Tensor
#3106
base: develop
Are you sure you want to change the base?
Added TensorFlow support to nncf.Tensor
#3106
Conversation
44d27af
to
79ded03
Compare
79ded03
to
c977245
Compare
c977245
to
9b6bf86
Compare
Please, update your branch from develop. |
9b6bf86
to
298891b
Compare
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.
Thanks for contributing. Please address my comments.
PS: Sorry for delay with reviewing.
c687e6a
to
bd17d4a
Compare
It looks like the PR is stuck. I see that @olegkkruglov answered all the comments from @alexsu52 |
Changes
tf_numeric.py
andtf_linalg.py
files with implementations of methods needed fornncf.Tensor
support.nncf.Tensor
.__ifloordiv__
operator fornncf.Tensor
.Reason for changes
Currently TensorFlow tensors are not supported by
nncf.Tensor
. It prevents #3041 from being done.Related tickets
#3041
Tests
TestTFNNCFTensorOperators
andTestGPUTFNNCFTensorOperators
classes were added totests/tensorflow/test_tensor.py
. Some changes were necessary fortests/cross_fw/test_templates/template_test_nncf_tensor.py
, mostly related to different device management in TensorFlow.