LostTech.TensorFlow : API Documentation

Type BaseLogger

Namespace tensorflow.keras.callbacks

Parent Callback

Interfaces IBaseLogger

Public instance methods

void on_predict_batch_begin(object batch, object logs)

Called at the beginning of a batch in `predict` methods.

Subclasses should override for any actions to run.
Parameters
object batch
integer, index of batch within the current epoch.
object logs
dict. Has keys `batch` and `size` representing the current batch number and the size of the batch.

object on_predict_batch_begin_dyn(object batch, object logs)

Called at the beginning of a batch in `predict` methods.

Subclasses should override for any actions to run.
Parameters
object batch
integer, index of batch within the current epoch.
object logs
dict. Has keys `batch` and `size` representing the current batch number and the size of the batch.

void on_predict_batch_end(object batch, object logs)

Called at the end of a batch in `predict` methods.

Subclasses should override for any actions to run.
Parameters
object batch
integer, index of batch within the current epoch.
object logs
dict. Metric results for this batch.

object on_predict_batch_end_dyn(object batch, object logs)

Called at the end of a batch in `predict` methods.

Subclasses should override for any actions to run.
Parameters
object batch
integer, index of batch within the current epoch.
object logs
dict. Metric results for this batch.

void on_predict_begin(object logs)

Called at the beginning of prediction.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_predict_begin_dyn(object logs)

Called at the beginning of prediction.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

void on_predict_end(object logs)

Called at the end of prediction.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_predict_end_dyn(object logs)

Called at the end of prediction.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

void on_test_begin(object logs)

Called at the beginning of evaluation or validation.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_test_begin_dyn(object logs)

Called at the beginning of evaluation or validation.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

void on_test_end(object logs)

Called at the end of evaluation or validation.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_test_end_dyn(object logs)

Called at the end of evaluation or validation.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

void on_train_begin(IDictionary<string, object> logs)

Called at the beginning of training.

Subclasses should override for any actions to run.
Parameters
IDictionary<string, object> logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_train_begin_dyn(object logs)

Called at the beginning of training.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

void on_train_end(IDictionary<string, object> logs)

Called at the end of training.

Subclasses should override for any actions to run.
Parameters
IDictionary<string, object> logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

object on_train_end_dyn(object logs)

Called at the end of training.

Subclasses should override for any actions to run.
Parameters
object logs
dict. Currently no data is passed to this argument for this method but that may change in the future.

Public properties

object model get; set;

object params get; set;

object PythonObject get;

int seen get; set;

ISet<object> stateful_metrics get; set;

IDictionary<object, object> totals get; set;

object validation_data get; set;