Backend#

Implementation specification#

class aidge_core.ImplSpec#
__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: aidge_core.aidge_core.ImplSpec, attr: aidge_core.aidge_core.DynamicAttributes = AttrDict({})) -> None

  2. __init__(self: aidge_core.aidge_core.ImplSpec, io: aidge_core.aidge_core.IOSpec, attr: aidge_core.aidge_core.DynamicAttributes = AttrDict({})) -> None

  3. __init__(self: aidge_core.aidge_core.ImplSpec, i: aidge_core.aidge_core.IOSpec, o: aidge_core.aidge_core.IOSpec, attr: aidge_core.aidge_core.DynamicAttributes = AttrDict({})) -> None

struct ImplSpec#

ImplSpec stores the requirements or the specifications of an implementation.

Public Functions

ImplSpec(const DynamicAttributes &attrs_ = DynamicAttributes())#
ImplSpec(const IOSpec &io, const DynamicAttributes &attrs_ = DynamicAttributes())#
ImplSpec(const IOSpec &i, const IOSpec &o, const DynamicAttributes &attrs_ = DynamicAttributes())#
ImplSpec(const std::vector<IOSpec> &i, const std::vector<IOSpec> &o, const DynamicAttributes &attrs_ = DynamicAttributes())#
ImplSpec(const Aidge::ImplSpec&)#
~ImplSpec() noexcept#

Public Members

std::vector<IOSpec> inputs#
std::vector<IOSpec> outputs#
DynamicAttributes attrs#
struct IOSpec#

Public Functions

inline IOSpec(DataType type_, DataFormat format_ = DataFormat::Any, const std::vector<std::pair<int, int>> &dims_ = {})#

Public Members

DataType type#
DataFormat format#
std::vector<std::pair<int, int>> dims#

Input/Output specification#

class aidge_core.IOSpec#
__init__(self: aidge_core.aidge_core.IOSpec, type: aidge_core.aidge_core.dtype, format: aidge_core.aidge_core.dformat = <dformat.any: 7>, dims: List[Tuple[int, int]] = []) None#
struct IOSpec

Public Functions

inline IOSpec(DataType type_, DataFormat format_ = DataFormat::Any, const std::vector<std::pair<int, int>> &dims_ = {})

Public Members

DataType type
DataFormat format
std::vector<std::pair<int, int>> dims