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
asc.language.tile.tile.Tile
asc.language.tile.tensor.Tensor
asc.language.tile.tensor.tensor
asc.language.tile.prog_model_ops.block_idx
asc.language.tile.prog_model_ops.block_num
asc.language.tile.prog_model_ops.num_tiles
num_tiles()
Creation operations
Memory operations
Binary operations
Unary operations
Indexing operations
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.prog_model_ops.num_tiles
View page source
asc.language.tile.prog_model_ops.num_tiles
asc.language.tile.prog_model_ops.
num_tiles
(
tensor
:
Tensor
,
axis
:
PlainValue
|
int
,
shape
:
Iterable
[
int
]
)
→
PlainValue
|
int