octoenergy / timeserio

Better `keras` models for time series and beyond
MIT License
61 stars 16 forks source link

Fix allowed hyperparam introspection for TF2.2.0 #29

Closed ig248 closed 3 years ago

ig248 commented 3 years ago

Before this change, introspection of args compatible with e.g. Sequential.fit would fail if that method was wrapped with a decorator that itself uses *args, **kwargs - specifically, this is the case in TF2.2.0

After this change, relevant methods are un-wrapped as needed.

The issue was introduced in https://github.com/tensorflow/tensorflow/commit/10666c59dd4858645d1b03ce01f4450da80710ec but resolved again in TF2.3