chickadee » nanograd » has-vanishing-gradients?

has-vanishing-gradients? parameters #!key (threshold 1e-07) (norm-type 'l2)procedure

Returns #t if the global gradient norm is below threshold.