def packRequest_pty_req(term, (rows, cols, xpixel, ypixel), modes):
    termPacked = common.NS(term)
    winSizePacked = struct.pack('>4L', cols, rows, xpixel, ypixel)
    modesPacked = common.NS(modes) # depend on the client packing modes
    return termPacked + winSizePacked + modesPacked
2D filtering (i.e. convolution but without mirroring the filter).  Mostly a convenience wrapper
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/ssh/session.py/packRequest_pty_req--crossover with--dataset/ETHPy150Open bbabenko/simple_convnet/simple_convnet/helpers.py/filter2D