callback_lr_set: This function should be used with keras callback_lambda Use...

View source: R/cnn_callbacks.R

callback_lr_setR Documentation

This function should be used with keras callback_lambda Use for metrics on each epoch, iteration, batch When training a model, each epoch has 'n' iterations, where each iteration has 'k' batches

Description

This function sets the learning rate accordingto the learning for each batch of data.

Usage

callback_lr_set(batch, logs)

Arguments

batch

created from keras callbacks, logs 'which batch'

logs

metrics contained in a list generated by R6 class

Value

updated iter, LR


xazip/x3pLeaX documentation built on July 14, 2022, 5:37 p.m.