act method
Apply Layer's logic to the inputs
Implementation
@override
Matrix act(inputs, {bool train = false}) {
if (type == NormalizationType.zScore) {
return _zScore(inputs as Matrix);
} else {
return _minmax(inputs as Matrix);
}
}
Apply Layer's logic to the inputs
@override
Matrix act(inputs, {bool train = false}) {
if (type == NormalizationType.zScore) {
return _zScore(inputs as Matrix);
} else {
return _minmax(inputs as Matrix);
}
}