-
Notifications
You must be signed in to change notification settings - Fork 758
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
add Digamma op #10066
add Digamma op #10066
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最后一行是有个空格吗?可以处理一下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已删除
struct UnaryFunctor<DeviceType::kCPU, UnaryOp::kDigamma, float, float> { | ||
OF_DEVICE_FUNC UnaryFunctor(Scalar attr0, Scalar attr1) {} | ||
|
||
OF_DEVICE_FUNC float operator()(float src) const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个实现是参考的什么地方,可以在注释中放个链接吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个实现是参考的什么地方,可以在注释中放个链接吗?
已添加
… into digamma_op_dev
参见 https://pytorch.org/docs/stable/special.html?highlight=digamma#torch.special.digamma
剩余
flow.digamma接口
tensor.digamma接口