type.py File Reference

type.py File Reference#

Runtime Library: type.py File Reference
Runtime Library v0.30
Mobilint SDK qb
type.py File Reference

Go to the source code of this file.

Classes

class  maccel.type.Cluster
 Enumerates clusters in the ARIES NPU. More...
class  maccel.type.Core
 Enumerates cores within a cluster in the ARIES NPU. More...
class  maccel.type.CoreAllocationPolicy
 Core allocation policy. More...
class  maccel.type.LatencySetPolicy
class  maccel.type.MaintenancePolicy
class  maccel.type.SchedulePolicy
class  maccel.type.Scale
 Struct for scale values. More...
class  maccel.type.CoreId
 Represents a unique identifier for an NPU core. More...
class  maccel.type.Buffer
 A simple byte-sized buffer. More...
class  maccel.type.CoreMode
 Defines the core mode for NPU execution. More...
class  maccel.type.BufferInfo
 Struct representing input/output buffer information. More...
class  maccel.type.ModelConfig
 Configures a core mode and core allocation of a model for NPU inference. More...
class  maccel.type.LogLevel
 LogLevel. More...
class  maccel.type.CacheType
 CacheType. More...
class  maccel.type.CacheInfo
 Struct representing KV-cache information. More...

Functions

 maccel.type.set_log_level (LogLevel level)
bool maccel.type.start_tracing_events (str path)
 Starts event tracing and prepares to save the trace log to a specified file.
 maccel.type.stop_tracing_events ()
 Stops event tracing and writes the recorded trace log.
str maccel.type.get_model_summary (str mxq_path)
 Generates a structured summary of the specified MXQ model.