def METHOD_NAME(in_size, out_size, np_data, np_op):
    out = np.zeros(out_size).astype(np_data.dtype)
    od, oh, ow = out_size
    for m in range(od):
        m_start = _start_index(m, od, in_size[0])
        m_end = _end_index(m, od, in_size[0])
        m_sl = slice(m_start, m_end)
        for k in range(oh):
            k_start = _start_index(k, oh, in_size[1])
            k_end = _end_index(k, oh, in_size[1])
            k_sl = slice(k_start, k_end)
            for l in range(ow):
                l_start = _start_index(l, ow, in_size[2])
                l_end = _end_index(l, ow, in_size[2])
                l_sl = slice(l_start, l_end)
                out[m, k, l] = np_op(np_data[m_sl, k_sl, l_sl])
    return out