Skip to content

fix zero point parameter round#151

Open
work-zhangzhe wants to merge 1 commit intomegvii-research:mainfrom
work-zhangzhe:fix_zero_point_parameter_round
Open

fix zero point parameter round#151
work-zhangzhe wants to merge 1 commit intomegvii-research:mainfrom
work-zhangzhe:fix_zero_point_parameter_round

Conversation

@work-zhangzhe
Copy link
Contributor

self.zero_point may be an instance of torch.Tensor or torch.nn.Parameter. When it is the latter, the original code will report an error. The modified code is compatible with both situations.

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

Successfully merging this pull request may close these issues.

1 participant