#NEWLINE# def test_gemm_directly( ) : #NEWLINE# #INDENT# for bs in range ( 1 , 5 ) : #NEWLINE# #INDENT# for ch in range ( 1 , 4 ) : #NEWLINE# #INDENT# for nf in range ( 1 , 4 ) : #NEWLINE# #INDENT# for rImg1 in range ( 5 , 9 ) : #NEWLINE# #INDENT# for rImg2 in range ( 5 , 9 ) : #NEWLINE# #INDENT# for rFlt1 in range ( 2 , 4 ) : #NEWLINE# #INDENT# for rFlt2 in range ( 2 , 4 ) : #NEWLINE# #INDENT# for direction in [ 'bprop img' , 'bprop kern' ] : #NEWLINE# #INDENT# ( yield ( gemm_directly , bs , ch , nf , rImg1 , rImg2 , rFlt1 , rFlt2 , 1 , 1 , direction ) ) #NEWLINE# #UNINDENT# for subsx in range ( 1 , 3 ) : #NEWLINE# #INDENT# for subsy in range ( 1 , 3 ) : #NEWLINE# #INDENT# ( yield ( gemm_directly , bs , ch , nf , bs , rImg2 , rFlt1 , rFlt2 , subsx , subsy , 'fprop' ) )