-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Autogen Tensor API & Prim-Relevant] Autogen tensor_api.cc
#50642
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… tensor_codegen
… tensor_codegen
… tensor_codegen
tensor.h
and tensor_api.cc
tensor_api.cc
… tensor_codegen
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
@@ -58,6 +58,43 @@ class TensorOperantsBase { | |||
|
|||
""" | |||
|
|||
tensor_api_source_include = """// Generated by paddle/phi/api/yaml/generator/tensor_gen.py |
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.
如果暂时不生成tensor.h的话,这个生成脚本是不换个名字合适些?
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.
Next PR fix this.
tensor_api.cc
tensor_api.cc
PR types
New features
PR changes
Others
Describe
Auto-generate tensor operants codes, code example:
tensor_api.cc