nvflare.fuel.utils.constants module

class FrameworkType(value)[source]

Bases: str, Enum

Machine learning framework type.

Used to identify the ML framework for model handling, persistor selection, and checkpoint validation across both server and client components.

NUMPY = 'numpy'
PYTORCH = 'pytorch'
RAW = 'raw'
TENSORFLOW = 'tensorflow'
class Mode(value)[source]

Bases: str, Enum

An enumeration.

ACTIVE = 'ACTIVE'
PASSIVE = 'PASSIVE'
class PipeChannelName[source]

Bases: object

METRIC = 'metric'
TASK = 'task'