platypush.message.event.tensorflow

class platypush.message.event.tensorflow.TensorflowBatchEndedEvent(batch: int, *args, **kwargs)[source]

Triggered when a the processing of a Tensorflow model training/evaluation batch ends.

__init__(batch: int, *args, **kwargs)[source]
Parameters:batch – Batch index.
class platypush.message.event.tensorflow.TensorflowBatchStartedEvent(batch: int, *args, **kwargs)[source]

Triggered when a Tensorflow model training/evaluation batch starts being processed.

__init__(batch: int, *args, **kwargs)[source]
Parameters:batch – Batch index.
class platypush.message.event.tensorflow.TensorflowEpochEndedEvent(epoch: int, *args, **kwargs)[source]

Triggered when a Tensorflow model training/evaluation epoch ends.

__init__(epoch: int, *args, **kwargs)[source]
Parameters:epoch – Epoch index.
class platypush.message.event.tensorflow.TensorflowEpochStartedEvent(epoch: int, *args, **kwargs)[source]

Triggered when a Tensorflow model training/evaluation epoch begins.

__init__(epoch: int, *args, **kwargs)[source]
Parameters:epoch – Epoch index.
class platypush.message.event.tensorflow.TensorflowEvent(model: str, logs: Optional[Dict[str, Union[int, float]]], *args, **kwargs)[source]
__init__(model: str, logs: Optional[Dict[str, Union[int, float]]], *args, **kwargs)[source]
Parameters:
  • model – Name of the Tensorflow model.
  • logs – Logs and metrics.
class platypush.message.event.tensorflow.TensorflowTrainEndedEvent(model: str, logs: Optional[Dict[str, Union[int, float]]], *args, **kwargs)[source]

Triggered when the training phase of a Tensorflow model ends.

class platypush.message.event.tensorflow.TensorflowTrainStartedEvent(model: str, logs: Optional[Dict[str, Union[int, float]]], *args, **kwargs)[source]

Triggered when a Tensorflow model starts being trained.