Skip to content

Commit 7ee657b

Browse files
committed
Remove .value getter method from Constant
1 parent 2a7f3e1 commit 7ee657b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pytensor/graph/basic.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -827,10 +827,6 @@ def owner(self, value) -> None:
827827
if value is not None:
828828
raise ValueError("Constant instances cannot have an owner.")
829829

830-
@property
831-
def value(self):
832-
return self.data
833-
834830

835831
def walk(
836832
nodes: Iterable[T],

0 commit comments

Comments
 (0)