11from deepx .tensor import Tensor
22from .rtf import A_b1_b2_op_C
33
4- def rtf_sum (a :Tensor ,dim :tuple [int ],keepdim :bool ,out : Tensor , author :str = 'miaobyte' )-> Tensor :
4+ def rtf_sum (a :Tensor ,dim :tuple [int ,... ],keepdim :bool ,out : Tensor , author :str = 'miaobyte' )-> Tensor :
55 A_b1_b2_op_C ("sum" ,a ,dim ,keepdim ,out ,author )
66
77
8- def rtf_prod (a :Tensor ,dim :tuple [int ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
8+ def rtf_prod (a :Tensor ,dim :tuple [int ,... ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
99 A_b1_b2_op_C ("prod" ,a ,dim ,keepdim ,out ,author )
1010
1111
12- def rtf_reducemax (a :Tensor ,dim :tuple [int ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
12+ def rtf_reducemax (a :Tensor ,dim :tuple [int ,... ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
1313 A_b1_b2_op_C ("reducemax" ,a ,dim ,keepdim ,out ,author )
1414
1515
16- def rtf_reducemin (a :Tensor ,dim :tuple [int ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
16+ def rtf_reducemin (a :Tensor ,dim :tuple [int ,... ],keepdim :bool ,out :Tensor , author :str = 'miaobyte' )-> Tensor :
1717 A_b1_b2_op_C ("reducemin" ,a ,dim ,keepdim ,out ,author )
1818
0 commit comments