Skip to content

Commit

Permalink
add parameter output_name
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Aug 4, 2022
1 parent 6b65600 commit 0072ec3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rfcs/CINN/APIs/20220802_cinn_api_design_one_hot.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| -------------- | ----------------------------------- |
| 提交作者 | Nyakku Shigure(@SigureMo|
| 提交时间 | 2022-08-02 |
| 版本号 | v0.4 |
| 版本号 | v0.5 |
| 依赖 CINN 版本 | develop |
| 文件名 | 20220802_cinn_api_design_one_hot.md |

Expand Down Expand Up @@ -369,7 +369,8 @@ ir::Tensor OneHot(const ir::Tensor& indices,
const ir::Tensor& off_value,
const int depth,
const int axis,
const Type& dtype);
const Type& dtype,
const std::string& output_name);
```
### 底层 OP 设计
Expand Down

0 comments on commit 0072ec3

Please sign in to comment.