Getting started
Examples
Developper documentation
API documentation
"""Base class for Exporters""" from abc import ABC, abstractmethod import tensorflow as tf [docs]class Exporter(ABC): """Base class for Exporters""" def __call__(self, estimator: tf.estimator.Estimator): """Alias for export""" return self.export(estimator) [docs] @abstractmethod def export(self, estimator: tf.estimator.Estimator): raise NotImplementedError()