Open
Description
Description
pytensor/pytensor/compile/function/types.py
Lines 938 to 941 in 3af923b
I read the discussion, it's not convincing, and even less now that we have other backends besides the C. If someone wants an Op to accept either None or something else they should define a specific type where None or the something else is allowed. An example of this could be size
for RandomVariables
or start
for MakeSlice
.