ponder-lab / Hybridize-Functions-Refactoring

Refactorings for optimizing imperative TensorFlow clients for greater efficiency.
Eclipse Public License 2.0
0 stars 0 forks source link

Missing tf.function parameters #139

Open khatchad opened 1 year ago

khatchad commented 1 year ago

https://github.com/ponder-lab/Hybridize-Functions-Refactoring/blob/cd6694ce0182f2e29d0ea182634a76dbcf238f1c/edu.cuny.hunter.hybridize.tests/test%20cases/edu/cuny/hunter/hybridize/tests/HybridizeFunctionRefactoringTest.java#L733-L735

According to https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/function, we are missing:

  1. experimental_relax_shapes
  2. experimental_compile
tatianacv commented 1 year ago

Since those are deprecated and have the same functionalities of jit_compile and reduce_retracing we are reusing the variables.

https://github.com/ponder-lab/Hybridize-Functions-Refactoring/blob/cd6694ce0182f2e29d0ea182634a76dbcf238f1c/edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java#L145-L154

khatchad commented 1 year ago

@tatianacv What is the status of this one? It seems like a very simply change that is taking a long time.