masking.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:varapp-backend-py 作者: varapp 项目源码 文件源码
def binary_and(a,b):
    """Compare two binary arrays of the same length and return a third one,
    the bitwise addition of the first two."""
    # return np.logical_and(a,b)  # does not work with packed arrays
    return np.bitwise_and(a, b)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号