File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -584,6 +584,10 @@ def __hash__(self):
584
584
return hash (type (self ))
585
585
586
586
587
+ scalar_identity = IdentityOp (scalar .upgrade_to_float , name = "scalar_identity" )
588
+ identity = Elemwise (scalar_identity , name = "identity" )
589
+
590
+
587
591
def make_shared_replacements (point , vars , model ):
588
592
"""
589
593
Makes shared replacements for all *other* variables than the ones passed.
@@ -688,10 +692,6 @@ def __call__(self, input):
688
692
return aesara .clone_replace (self .tensor , {oldinput : input }, strict = False )
689
693
690
694
691
- scalar_identity = IdentityOp (scalar .upgrade_to_float , name = "scalar_identity" )
692
- identity = Elemwise (scalar_identity , name = "identity" )
693
-
694
-
695
695
class GeneratorOp (Op ):
696
696
"""
697
697
Generator Op is designed for storing python generators inside aesara graph.
You can’t perform that action at this time.
0 commit comments