#NEWLINE# def get_shapes( imshp = ( 1 , 1 ) , kshp = ( 1 , 1 ) , subsample = ( 1 , 1 ) , img_stride = ( 1 , 1 ) , kern_stride = ( 1 , 1 ) ) : #NEWLINE# #INDENT# ' all possible case if we one or more of stack size, batch size,\n    nkern. We use the gived image shape, kernel shape and subsmaple\n    shape.' #NEWLINE# return [ ( ( ( 1 , 2 ) + imshp ) , ( ( 1 , 2 ) + kshp ) , subsample , img_stride , kshp ) , ( ( ( 3 , 1 ) + imshp ) , ( ( 1 , 1 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 1 , 1 ) + imshp ) , ( ( 2 , 1 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 3 , 1 ) + imshp ) , ( ( 2 , 1 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 3 , 2 ) + imshp ) , ( ( 1 , 2 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 1 , 2 ) + imshp ) , ( ( 2 , 2 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 2 , 2 ) + imshp ) , ( ( 2 , 2 ) + kshp ) , subsample , img_stride , kern_stride ) , ( ( ( 3 , 2 ) + imshp ) , ( ( 4 , 2 ) + kshp ) , subsample , img_stride , kern_stride ) ]