未验证 提交 63215d1e 编写于 作者: B Bin Lu 提交者: GitHub

Update postprocess.py

上级 3e688141
......@@ -148,21 +148,3 @@ class Binarize(object):
byte[:, i:i+1] = np.dot(x[:, i * 8: (i + 1)* 8], self.unit)
return byte
if __name__== "__main__":
a = Binarize()
x = np.random.random((31, 64)).astype('float32')
y = a(x)
print(y)
print(y.shape)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册