Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在线推理的时候,怎么计算 变换矩阵和偏置项 #9

Open
kennyLSN opened this issue Oct 15, 2021 · 2 comments
Open

在线推理的时候,怎么计算 变换矩阵和偏置项 #9

kennyLSN opened this issue Oct 15, 2021 · 2 comments

Comments

@kennyLSN
Copy link

在线推理的时候,只有待排序的几个样本,如何计算变化矩阵和偏项

@autoliuweijie
Copy link
Owner

你可以随机抽样一部分样本,离线将矩阵和偏项计算好,在线推理的时候直接使用计算好的矩阵和偏项。

@BacallZhong666
Copy link

在线推理时,kernel和bias可以用预存的,但是normalization每次的结果也不一样,这个怎么解决比较好呢,需要把normalization的参数也固定下来吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants