Skip to content

Conversation

ricardoV94
Copy link
Member

One can thus write:

import pytensor.tensor as pt

x = pt.scalar("x")
y = x * pt.pi

@michaelosthege
Copy link
Member

Isn't the __all__ in there totally incomplete? It exports only the random submodule, but not even the *-imported stuff

@ricardoV94
Copy link
Member Author

Isn't the __all__ in there totally incomplete? It exports only the random submodule, but not even the *-imported stuff

No idea why it was needed to add the random, but we probably don't want to list everything explicitly. It also looked funny to me.

@ricardoV94 ricardoV94 merged commit 4cc13bc into pymc-devs:main Aug 1, 2023
@ricardoV94 ricardoV94 deleted the constant_aliases branch August 25, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants