API ReferenceΒΆ

ecal

eCAL: Analytical estimation of the energy cost of the AI lifecycle (J/bit).

ecal.api

Public API for eCAL energy estimation.

ecal.cli

Command-line interface for eCAL.

ecal.hardware.profiles

ecal.configs.protocol_configs

OSI-layer protocol energy parameters used by ecal.calculators.transmission.Transmission to estimate the energy cost of sending data across a network stack.

ecal.calculators.transmission

ecal.calculators.preprocessing

ecal.calculators.preprocessing_flops

FLOP calculators for data preprocessing steps (normalization, min-max scaling, and Gramian Angular/Difference Field encoding).

ecal.calculators.training

ecal.calculators.inference

ecal.calculators.model_flops

FLOP calculators for supported model architectures (MLP, CNN, KAN, Transformer) and thin wrappers around the third-party calflops library for arbitrary PyTorch/HuggingFace models.