@@ -270,7 +270,11 @@ def make_node(self, a_val, a_ind, a_ptr, a_nrows, b):
270
270
r = Apply (
271
271
self ,
272
272
[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
+ ],
274
278
)
275
279
return r
276
280
@@ -465,7 +469,12 @@ def make_node(self, a_val, a_ind, a_ptr, b):
465
469
r = Apply (
466
470
self ,
467
471
[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
+ ],
469
478
)
470
479
return r
471
480
@@ -705,7 +714,11 @@ def make_node(self, alpha, x_val, x_ind, x_ptr, x_nrows, y, z):
705
714
r = Apply (
706
715
self ,
707
716
[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
+ ],
709
722
)
710
723
return r
711
724
@@ -1142,7 +1155,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
1142
1155
"""
1143
1156
assert b .type .ndim == 2
1144
1157
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 ,))],
1146
1161
)
1147
1162
1148
1163
def c_code_cache_version (self ):
@@ -1280,7 +1295,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
1280
1295
"""
1281
1296
assert b .type .ndim == 2
1282
1297
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 ,))],
1284
1301
)
1285
1302
1286
1303
def c_code_cache_version (self ):
@@ -1470,7 +1487,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
1470
1487
"""
1471
1488
assert b .type .ndim == 1
1472
1489
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 ,))],
1474
1493
)
1475
1494
1476
1495
def c_code_cache_version (self ):
@@ -1642,7 +1661,9 @@ def make_node(self, a_data, a_indices, a_indptr, b):
1642
1661
assert a_indptr .type .ndim == 1
1643
1662
assert b .type .ndim == 1
1644
1663
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 ,))],
1646
1667
)
1647
1668
1648
1669
def c_code_cache_version (self ):
0 commit comments