mila-iqia / myia

Myia prototyping
MIT License
455 stars 46 forks source link

Use functions instead of strings in function nodes #406

Closed breuleux closed 3 years ago

breuleux commented 3 years ago

This replaces the strings "return_", "universe_getitem", and so on that are currently in some constant nodes produced by the parser by builtin functions when appropriate, or functions in myia.basics when they are Myia-specific. Tests and representations are adjusted accordingly.

abergeron commented 3 years ago

I didn't really look at the html pages, but the rest looks good.