We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__setitem__
1 parent 5b77cfb commit c61eeb0Copy full SHA for c61eeb0
pytensor/tensor/variable.py
@@ -598,7 +598,7 @@ def is_empty_array(val):
598
599
def __setitem__(self, key, value):
600
raise TypeError(
601
- "TensorVariable does not support item assignment. Use the output of `set` or `add` instead."
+ "TensorVariable does not support item assignment. Use the output of `x[idx].set` or `x[idx].inc` instead."
602
)
603
604
def take(self, indices, axis=None, mode="raise"):
0 commit comments