Learn R Programming

luz (version 0.5.0)

luz_callback_profile: Profile callback

Description

Computes the times for high-level operations in the training loops.

Usage

luz_callback_profile()

Arguments

Value

A luz_callback

Details

Records are saved in ctx$records$profile. Times are stored as seconds. Data is stored in the following structure:

  • fit time for the entire fit procedure.

  • epoch times per epoch

See Also

Other luz_callbacks: luz_callback(), luz_callback_auto_resume(), luz_callback_csv_logger(), luz_callback_early_stopping(), luz_callback_interrupt(), luz_callback_keep_best_model(), luz_callback_lr_scheduler(), luz_callback_metrics(), luz_callback_mixed_precision(), luz_callback_mixup(), luz_callback_model_checkpoint(), luz_callback_progress(), luz_callback_resume_from_checkpoint(), luz_callback_train_valid()

Examples

Run this code
profile_callback <- luz_callback_profile()

Run the code above in your browser using DataLab