def trans_F_4x4_3x3(Fw, F, minimal=False, trans=False):
    if minimal:

        T0 = np.empty((6,3))
        T1 = np.empty((6,6))

        for O, I in ((T0, F), (T1, T0.T)):

            # t0 =  rcp6  * I[2,:]
            # t1 = -rcp6  * I[0,:] - t0
            # t2 =  rcp24 * I[0,:] + t0

            # O[0,:] = rcp4 * I[0,:]
            # O[1,:] = t1 - rcp6  * I[1,:]
            # O[2,:] = t1 + rcp6  * I[1,:]
            # O[3,:] = t2 + rcp12 * I[1,:]
            # O[4,:] = t2 - rcp12 * I[1,:]
            # O[5,:] = I[2,:]

            t0 = I[0,:] + I[2,:]
            t1 = I[0,:] + I[2,:]*4.0

            O[0,:] = I[0,:]
            O[1,:] = t0 + I[1,:]
            O[2,:] = I[1,:] - t0
            O[3,:] = t1 + I[1,:]*2.0
            O[4,:] = t1 - I[1,:]*2.0
            O[5,:] = I[2,:]

        Fw[:] = T1.T

    else:
        Fw[:] = np.dot( np.dot(F_4x4_3x3[trans[0]], F), F_4x4_3x3[trans[1]].T )
dataset/ETHPy150Open NervanaSystems/neon/neon/backends/winograd4.py/trans_F_4x4_3x3/swapped operands of `-`