assign_variable
Classes
AssignVariableOperator
AssignVariableOperator(op: AirOperator, model: AirModel, platform: SocPlatform, prefix: str = 'aot', attributes: dict[str, str] = {})
Assign Variable operator.
This operator stores a resource variable tensor into persistent memory.
Parameters:
-
op
AirOperator
) –The AIR operator to wrap.
-
model
AirModel
) –The AIR model.
-
platform
SocPlatform
) –The target platform for code generation.
-
prefix
str
, default:'aot'
) –Prefix for generated code files. Defaults to "aot".
-
attributes
dict[str, str]
, default:{}
) –Attributes for template values. Defaults to {}.