ONE - On-device Neural Engine
|
Data Structures | |
class | BaseSession |
Functions | |
num_elems (tensor_info) | |
tensorinfo () | |
package.common.basesession.num_elems | ( | tensor_info | ) |
Get the total number of elements in nnfw_tensorinfo.dims.
Definition at line 8 of file basesession.py.
Referenced by package.common.basesession.BaseSession.set_inputs().
package.common.basesession.tensorinfo | ( | ) |
Shortcut to create a fresh tensorinfo instance. Raises: OnertError: If the C-API call fails.
Definition at line 181 of file basesession.py.