PYASC
Installation
Build from source
Setup runtime environment
Development
Coding style conventions
Tools
High-level design
Project overview
Python API (PyAsc2)
Tile API
Programming model
Creation operations
Memory operations
Binary operations
Unary operations
Indexing operations
asc.language.tile.indexing_ops.mask
asc.language.tile.indexing_ops.where
where()
Reduction operations
Shape manipulation operations
Atomic operations
Runtime API
Python API (PyAsc)
asc.language.adv
asc.language.basic
asc.language.core
asc.language.fwk
asc.lib.host
MLIR
Dialects and operations
Passes
PYASC
Tile API
asc.language.tile.indexing_ops.where
View page source
asc.language.tile.indexing_ops.where
asc.language.tile.indexing_ops.
where
(
mask
:
Tile
,
src0
:
Tile
|
PlainValue
|
int
|
float
,
src1
:
Tile
|
PlainValue
|
int
|
float
)
→
Tile