tf-quaternion icon indicating copy to clipboard operation
tf-quaternion copied to clipboard

what Tensorflow version does this library supports?

Open itxiud2015 opened this issue 5 years ago • 2 comments

Hi PhilJD,

May I know what Tensorflow version does this library supports? Thanks

itxiud2015 avatar Jul 05 '20 01:07 itxiud2015

Hi @itxiud2015, this should work from ~1.3 onwards. TF2 might require a recent commit which is not in the pip package yet, so the safest option is to install directly from git. Let me know if there are any issues.

PhilJd avatar Jul 06 '20 06:07 PhilJd

Hi PhilJD,

There is one change in the TensorFlow syntax: I got this error when using your library with the latest version of TensorFlow on Google Colab. "Got an unexpected keyword argument 'keep_dims'" due to inconsistency of new syntax of TensorFlow. So I need to change the related file (tfquaternion.py line:389) code to "keepdims" instead of "keep_dims"

https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/math/reduce_sum

Thanks! :)

FarzanehSeyedshahi avatar Aug 15 '22 11:08 FarzanehSeyedshahi