ns_sdn.engine._core#

Primitive layer: constants, value objects, validators, and type aliases.

Nothing in this subpackage knows what a model is, and nothing here imports torch. Every symbol has more than one consumer; mono-consumer mechanism lives in _internals.

  • _defaults – every numeric constant, including the published schedule.

  • _types – the Literal aliases behind ns_sdn.typing.

  • _validators – the coercing checks behind every constructor.

  • _containers – the penalty, stage, criteria, scale and summary records.

Example

>>> from ns_sdn.engine._core import _defaults, _validators
>>> _validators._validate_positive_int(_defaults._SPECTRUM_NFFT, "nfft")
256

Constants and defaults#

_containers

Reusable value objects shared by internal mechanisms and public results.

_defaults

Package-wide numeric constants and estimator defaults.

_types

Categorical specification aliases.

_validators

Input validation primitives.