newron.tensorflow.autolog()
newron.tensorflow.autolog(log_models=True, disable=False, exclusive=False, disable_for_unsupported_versions=False, silent=False, registered_model_name=None)
Enables (or disables) and configures autologging from tensorflow to newron. Logs loss and any other metrics specified in the fit function, and optimizer data as parameters. Model checkpoints are logged as artifacts to a ‘models’ directory.
Parameters
- log_models – If True, trained models are logged as newron model artifacts. If False, trained models are not logged.
- disable – If True, disables the tensorflow autologging integration. If False, enables the tensorflow autologging integration.
- exclusive – If True, autologged content is not logged to user-created fluent runs. If False, autologged content is logged to the active fluent run, which may be user-created.
- disable_for_unsupported_versions – If True, disable autologging for versions of tensorflow that have not been tested against this version of the newron client or are incompatible.
- silent – If True, suppress all event logs and warnings from newron during twnsorflow autologging. If False, show all events and warnings during tensorflow autologging.
- registered_model_name – If given, each time a model is trained, it is registered as a new model version of the registered model with this name. The registered model is created if it does not already exist.
Example
import newron
import newron.tensorflow
# USER CODE
newron.tensorflow.autolog()