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 Nov 17, 2025. It is now read-only.
There seems to be an issue with static shape inference for Subtensor ops. Below is an example provided by @brandonwillard in PR #901:
importaesara.tensorasaty=at.tensor(dtype="float32", shape=(2,))
y.type.shape# (2,)# We know that the shape of this should be equal to the shape of `y`z=y[slice(None)]
aesara.dprint(z, print_type=True)
# Subtensor{::} [id A] <TensorType(float32, (None,))> '' # |<TensorType(float32, (2,))> [id B] <TensorType(float32, (2,))>z.type.shape# (None,)