-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
FixEighOP; Unified MatrixEighFunctor function #35812
Conversation
Thanks for your contribution! |
f9514e5
to
be56545
Compare
ret.Resize(framework::make_ddim(out_shape)); | ||
ElementwiseComputeEx<DivFunctor<T>, DeviceContext, T>( | ||
context, &x, &y, -1, DivFunctor<T>(), &ret); | ||
if (x.type() != y.type()) { |
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.
x
和y
的type
还是有限制的吧?
paddle/fluid/operators/svd_helper.h
Outdated
@@ -330,7 +340,8 @@ struct DeviceIndependenceTensorOperations { | |||
NameInTensorMap inputs({{"X", {&x}}}); | |||
return CreateOpRunAndReturnTensor("reduce_max", inputs, attrs, out_dim); | |||
} | |||
|
|||
// Support float and complex type subtraction,the default is T type | |||
template <typename T1 = T> |
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.
不要用T1
。
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.
LGTM
PR types
Others
PR changes
OPs
Describe
修复Eigh OP