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

【Hackathon 6th Fundable Projects 3 No.219】logspace #64802

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 0 additions & 77 deletions paddle/fluid/operators/logspace_op.cc

This file was deleted.

1 change: 0 additions & 1 deletion paddle/phi/ops/yaml/legacy/ops_exclude.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
- hsigmoid_loss
- increment
- linspace
- logspace
- logsumexp
- matrix_rank
- matrix_rank_tol
Expand Down
3 changes: 1 addition & 2 deletions paddle/phi/ops/yaml/ops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,7 @@
backward : logsigmoid_grad

- op : logspace
args : (Tensor start, Tensor stop, Tensor num, Tensor base, DataType dtype, Place place={})
args : (Tensor start, Tensor stop, Tensor num, Tensor base, DataType dtype)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

去掉place参数不太合理,可能需要再想想办法

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原LogspaceOpMaker中是没有place的

output : Tensor(out)
infer_meta:
func : LogspaceInferMeta
Expand All @@ -2665,7 +2665,6 @@
func : logspace
param : [start, stop, num, base, dtype]
data_type : dtype
backend : place
interfaces : paddle::dialect::InferSymbolicShapeInterface

- op : logsumexp
Expand Down