You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2023. It is now read-only.
Hi i opened your tutorial notebook and run the cells in notebook. after installing tangent at cell with following code:
the following error arises:
AttributeError Traceback (most recent call last)
in ()
----> 1 import tangent
2 df = tangent.grad(f)
3 frames
/usr/local/lib/python3.6/dist-packages/tangent/grammar.py in ()
16 import gast
17
---> 18 LITERALS = (gast.Num, gast.Str, gast.Bytes, gast.Ellipsis, gast.NameConstant)
19
20 CONTROL_FLOW = (gast.For, gast.AsyncFor, gast.While, gast.If, gast.Try)
AttributeError: module 'gast' has no attribute 'Num'