@@ -270,7 +270,11 @@ def make_node(self, a_val, a_ind, a_ptr, a_nrows, b):
270270 r = Apply (
271271 self ,
272272 [a_val , a_ind , a_ptr , a_nrows , b ],
273- [tensor (dtype_out , shape = (None , 1 if b .type .shape [1 ] == 1 else None ))],
273+ [
274+ tensor (
275+ dtype = dtype_out , shape = (None , 1 if b .type .shape [1 ] == 1 else None )
276+ )
277+ ],
274278 )
275279 return r
276280
@@ -465,7 +469,12 @@ def make_node(self, a_val, a_ind, a_ptr, b):
465469 r = Apply (
466470 self ,
467471 [a_val , a_ind , a_ptr , b ],
468- [tensor (self .dtype_out , shape = (None , 1 if b .type .shape [1 ] == 1 else None ))],
472+ [
473+ tensor (
474+ dtype = self .dtype_out ,
475+ shape = (None , 1 if b .type .shape [1 ] == 1 else None ),
476+ )
477+ ],
469478 )
470479 return r
471480
@@ -705,7 +714,11 @@ def make_node(self, alpha, x_val, x_ind, x_ptr, x_nrows, y, z):
705714 r = Apply (
706715 self ,
707716 [alpha , x_val , x_ind , x_ptr , x_nrows , y , z ],
708- [tensor (dtype_out , shape = (None , 1 if y .type .shape [1 ] == 1 else None ))],
717+ [
718+ tensor (
719+ dtype = dtype_out , shape = (None , 1 if y .type .shape [1 ] == 1 else None )
720+ )
721+ ],
709722 )
710723 return r
711724
@@ -1142,7 +1155,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
11421155 """
11431156 assert b .type .ndim == 2
11441157 return Apply (
1145- self , [a_data , a_indices , a_indptr , b ], [tensor (b .dtype , shape = (None ,))]
1158+ self ,
1159+ [a_data , a_indices , a_indptr , b ],
1160+ [tensor (dtype = b .dtype , shape = (None ,))],
11461161 )
11471162
11481163 def c_code_cache_version (self ):
@@ -1280,7 +1295,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
12801295 """
12811296 assert b .type .ndim == 2
12821297 return Apply (
1283- self , [a_data , a_indices , a_indptr , b ], [tensor (b .dtype , shape = (None ,))]
1298+ self ,
1299+ [a_data , a_indices , a_indptr , b ],
1300+ [tensor (dtype = b .dtype , shape = (None ,))],
12841301 )
12851302
12861303 def c_code_cache_version (self ):
@@ -1470,7 +1487,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
14701487 """
14711488 assert b .type .ndim == 1
14721489 return Apply (
1473- self , [a_data , a_indices , a_indptr , b ], [tensor (b .dtype , shape = (None ,))]
1490+ self ,
1491+ [a_data , a_indices , a_indptr , b ],
1492+ [tensor (dtype = b .dtype , shape = (None ,))],
14741493 )
14751494
14761495 def c_code_cache_version (self ):
@@ -1642,7 +1661,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
16421661 assert a_indptr .type .ndim == 1
16431662 assert b .type .ndim == 1
16441663 return Apply (
1645- self , [a_data , a_indices , a_indptr , b ], [tensor (b .dtype , shape = (None ,))]
1664+ self ,
1665+ [a_data , a_indices , a_indptr , b ],
1666+ [tensor (dtype = b .dtype , shape = (None ,))],
16461667 )
16471668
16481669 def c_code_cache_version (self ):
0 commit comments