Normalize#

class radionets.core.callbacks.Normalize(conf)[source]#

Bases: Callback

Attributes Summary

learn

name

Name of the Callback, camel-cased and with 'Callback' removed

order

run

run_train

run_valid

Methods Summary

__call__(event_name)

Call self.{event_name} if it's defined

before_batch()

normalize(x, m, s)

Attributes Documentation

learn = None#
name#

Name of the Callback, camel-cased and with ‘Callback’ removed

order = 0#
run = True#
run_train = True#
run_valid = True#

Methods Documentation

__call__(event_name)#

Call self.{event_name} if it’s defined

before_batch()[source]#
normalize(x, m, s)[source]#