test_delay_estimator.py 文件源码

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

项目:pactools 作者: pactools 项目源码 文件源码
def test_delay_shape():
    est = fast_delay()
    assert_equal(est.neg_log_likelihood_.shape, est.delays_ms_.shape)
    assert_greater(est.neg_log_likelihood_.shape[0], 1)
    i_best = np.nanargmin(est.neg_log_likelihood_)
    assert_equal(est.best_delay_ms_, est.delays_ms_[i_best])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号