aihwkit.simulator.presets.configs module¶
RPU configurations presets for resistive processing units.
- class aihwkit.simulator.presets.configs.Capacitor2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two Capacitor devices per cross-point (
CapacitorPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.Capacitor4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four Capacitor devices per cross-point (
CapacitorPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.CapacitorPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single capacitor device, see
CapacitorPresetDevice.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.EcRam2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two Lithium-based EcRam devices per cross-point (
EcRamPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.EcRam4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four Lithium-based EcRam devices per cross-point (
EcRamPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.EcRamMO2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two metal-oxide EcRam devices per cross-point (
EcRamMOPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.EcRamMO4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four metal-oxide EcRam devices per cross-point (
EcRamMOPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.EcRamMOPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single metal-oxide EcRAM device, see
EcRamMOPresetDevice.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.EcRamPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single Lithium-based EcRAM device, see
EcRamPresetDevice.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.GokmenVlasovPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single device with constant update step size, see
GokmenVlasovPresetDevice.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.Idealized2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two Idealized devices per cross-point (
IdealizedPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.Idealized4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four Idealized devices per cross-point (
IdealizedPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.IdealizedPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single idealized device, see
IdealizedPresetDevice.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.MixedPrecisionCapacitorPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.CapacitorPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionEcRamMOPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.EcRamMOPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionEcRamPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.EcRamPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionGokmenVlasovPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.GokmenVlasovPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionIdealizedPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.IdealizedPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionPCMPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.PCMPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionReRamESPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.ReRamESPresetDevice
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.MixedPrecisionReRamSBPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.DigitalRankUpdateRPUConfigConfiguration using Mixed-precision with class:~aihwkit.simulator.presets.devices.ReRamSBPresetDevice.
See class:~aihwkit.simulator.configs.devices.MixedPrecisionCompound for details on the mixed precision optimizer.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.DigitalRankUpdateCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.DigitalRankUpdateCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the analog part of the update, that is the transfer from the digital buffer to the devices.
- class aihwkit.simulator.presets.configs.PCMPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using a single pair of PCM devicec with refresh, see
PCMPresetUnitCell.This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.ReRamES2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two ReRam devices per cross-point (
ReRamESPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.ReRamES4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four ReRam devices per cross-point (
ReRamESPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.ReRamESPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single ReRam device (based on ExpStep model, see
ReRamESPresetDevice).This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.ReRamSB2Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using two ReRam devices per cross-point (
ReRamSBPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.ReRamSB4Preset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigPreset configuration using four ReRam devices per cross-point (
ReRamSBPresetDevice), where both are updated with random selection policy for update.See
VectorUnitCellfor more details on multiple devices per cross-points.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.ReRamSBPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.SingleRPUConfigPreset configuration using a single ReRam device (based on SoftBounds model, see
ReRamSBPresetDevice).This preset uses standard SGD with fully parallel update on analog with stochastic pulses.
The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.devices.PulsedDevice¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the update behavior.
- class aihwkit.simulator.presets.configs.TTv2CapacitorPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
CapacitorPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TTv2EcRamMOPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
EcRamMOPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TTv2EcRamPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
EcRamPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TTv2IdealizedPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
IdealizedPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TTv2ReRamESPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
ReRamESPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TTv2ReRamSBPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using TTv2 with
ReRamSBPresetDevice.See
BufferedTransferCompoundfor details on TTv2-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaCapacitorPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
CapacitorPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaEcRamMOPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
EcRamMOPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaEcRamPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
EcRamPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaIdealizedPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
IdealizedPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaReRamESPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
ReRamESPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.
- class aihwkit.simulator.presets.configs.TikiTakaReRamSBPreset(pre_post=<factory>, mapping=<factory>, device=<factory>, forward=<factory>, backward=<factory>, update=<factory>)[source]¶
Bases:
aihwkit.simulator.configs.configs.UnitCellRPUConfigConfiguration using Tiki-taka with
ReRamSBPresetDevice.See
TransferCompoundfor details on Tiki-taka-like optimizers.The default peripheral hardware (
PresetIOParameters) and analog update (PresetUpdateParameters) configuration is used otherwise.- Parameters
pre_post (aihwkit.simulator.configs.utils.PrePostProcessingParameter) –
mapping (aihwkit.simulator.configs.utils.MappingParameter) –
device (aihwkit.simulator.configs.compounds.UnitCell) –
forward (aihwkit.simulator.configs.utils.IOParameters) –
backward (aihwkit.simulator.configs.utils.IOParameters) –
- Return type
None
- backward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the backward direction.
- device: aihwkit.simulator.configs.compounds.UnitCell¶
Parameter that modify the behavior of the pulsed device.
- forward: aihwkit.simulator.configs.utils.IOParameters¶
Input-output parameter setting for the forward direction.
- update: aihwkit.simulator.configs.utils.UpdateParameters¶
Parameter for the parallel analog update behavior.