wala / ML

Eclipse Public License 2.0
25 stars 17 forks source link

Implicit `call()` for models/layers not working #106

Open tatianacv opened 10 months ago

tatianacv commented 10 months ago

Bug in processing the call for call(...) when calling the model (line 36)

https://github.com/wala/ML/blob/eec6f816f0c95ce23778d30eb71baf1d4edf0f24/com.ibm.wala.cast.python.test/data/tf2_test_model_call2.py#L6-L36

Similar to https://github.com/wala/ML/issues/24 for __call__, the call(..) method does not appear in the callgraph.

khatchad commented 10 months ago

Can you change the comment for test 2 to refer to this new issue instead of #24?

tatianacv commented 10 months ago

Can you change the comment for test 2 to refer to this new issue instead of #24?

https://github.com/ponder-lab/ML/pull/59

khatchad commented 10 months ago

Since the super class __call__() calls the subclass' __call__(), this is most likely blocked on #107.