oneflow icon indicating copy to clipboard operation
oneflow copied to clipboard

[WIP] Add eye op

Open Zailiang opened this issue 4 years ago • 1 comments

  1. 用 ones 和 diag 拼成的 eye op:ones生成全1矩阵,再用diag保留对角线值,其他全为0,从而实现eye。
  2. 测试脚本暂未跑通,待diag op的PR PR4080 完成合并后,再完善此PR。

Zailiang avatar Jan 25 '21 02:01 Zailiang

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
8 out of 11 committers have signed the CLA.

:white_check_mark: hengzi
:white_check_mark: MARD1NO
:white_check_mark: leaves-zwx
:white_check_mark: hjchen2
:white_check_mark: simonJJJ
:white_check_mark: Ldpe2G
:white_check_mark: BBuf
:white_check_mark: Zailiang
:x: iamyf
:x: Ziheng-ZHAO
:x: WangTuoxyty
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 29 '21 09:04 CLAassistant