Skip to content

Commit 02fc20c

Browse files
Remove __props__ from AllocDiag2
1 parent afe2a65 commit 02fc20c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pytensor/tensor/basic.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3837,17 +3837,6 @@ class AllocDiag2(OpFromGraph):
38373837
Wrapper Op for alloc_diag graphs
38383838
"""
38393839

3840-
__props__ = ("offset", "axis1", "axis2", "inline")
3841-
3842-
def __init__(self, *args, offset, axis1, axis2, **kwargs):
3843-
inline = kwargs.pop("inline", False)
3844-
self.offset = offset
3845-
self.axis1 = axis1
3846-
self.axis2 = axis2
3847-
self.inline = inline
3848-
3849-
super().__init__(*args, **kwargs, strict=True, inline=inline)
3850-
38513840

38523841
def alloc_diag(diag, offset=0, axis1=0, axis2=1):
38533842
"""Insert a vector on the diagonal of a zero-ed matrix.

0 commit comments

Comments
 (0)