ML icon indicating copy to clipboard operation
ML copied to clipboard

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

Open tatianacv opened this issue 2 years ago • 3 comments

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.

tatianacv avatar Nov 30 '23 03:11 tatianacv

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

khatchad avatar Nov 30 '23 03:11 khatchad

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

tatianacv avatar Nov 30 '23 16:11 tatianacv

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

khatchad avatar Dec 03 '23 12:12 khatchad