Skip to content

where,switch算子:验证和支持 #46

@miaobyte

Description

@miaobyte

算子说明

switch(tensor<int64|int32|int8|bool> cases,listtensor Xs)->(tensor Y)
cases、 X[i]、 Y 这三者的shape必须相同

where算子,复用switch
where(tensor<int64|int32|int8|bool> cases,tensor A,tensor B)->(tensor Y)

excuter

  • cuda
  • ompsimd

python

Metadata

Metadata

Assignees

Labels

todo待实现

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions