def sign2bin(matrix):
    return np.where(matrix == 1, 1, 0)
Post-processor for call_blockdev_getmirrorstatus.
dataset/ETHPy150Open itdxer/neupy/neupy/algorithms/memory/utils.py/sign2bin--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/rpc_defs.py/_BlockdevGetMirrorStatusPostProc