Deeploy.TilingExtension.TilingCodegen.MemoryTransfer

class Deeploy.TilingExtension.TilingCodegen.MemoryTransfer(source: MemoryConstraint, destination: MemoryConstraint)

Bases: object

Represents a memory transfer operation between two memory levels.

This dataclass encapsulates the source and destination memory constraints for a memory transfer operation in the tiling system, defining where data is transferred from and to in the memory hierarchy.

Variables:
  • source (MemoryConstraint) – The source memory constraint defining the memory level data is transferred from.

  • destination (MemoryConstraint) – The destination memory constraint defining the memory level data is transferred to.

Notes

This class is used in conjunction with memory hierarchies to define data movement patterns during tiled neural network execution.

Methods

__init__(source: MemoryConstraint, destination: MemoryConstraint) None

__init__(source, destination)

Attributes

source

destination