tools.py 文件源码

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

项目:blstm-cws 作者: chantera 项目源码 文件源码
def take(self, indices):
        if self._dtype is np.ndarray:
            return self._samples.take(indices, axis=0)
        elif isinstance(indices, Iterable):
            return self._dtype(itemgetter(*indices)(self._samples))
        return self._samples[indices]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号