espnet2.asr.encoder.beats_encoder.GradMultiply
Less than 1 minute
espnet2.asr.encoder.beats_encoder.GradMultiply
class espnet2.asr.encoder.beats_encoder.GradMultiply(*args, **kwargs)
Bases: Function
A gradient modification function that scales the gradient by a fixed scalar
static backward(ctx, grad)
Backward pass
static forward(ctx, i)
Forward pass