提交 589a5f77 编写于 作者: W wangxiao1021

Merge branch 'api' of https://github.com/wangxiao1021/PALM into api

...@@ -125,6 +125,7 @@ def decode_fake(nums, mask, bs): ...@@ -125,6 +125,7 @@ def decode_fake(nums, mask, bs):
n_f = len(mask) - n_t n_f = len(mask) - n_t
p1 = nums - (n_t-1) * bs p1 = nums - (n_t-1) * bs
assert p1 % (n_f+1) == 0
each_f = p1 // (n_f+1) each_f = p1 // (n_f+1)
return each_f * n_f return each_f * n_f
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册