public ScaleBias(Module <double> source, double scale = 1.0, double bias = 0.0) { Source = source; Scale = new Constant <double>(scale); Bias = new Constant <double>(bias); }
public ScaleBias(Module <double> source, Module <double> scale) { Source = source; Scale = scale; Bias = new Constant <double>(0.0); }