示例#1
0
 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);
 }
示例#2
0
 public ScaleBias(Module <double> source, Module <double> scale)
 {
     Source = source;
     Scale  = scale;
     Bias   = new Constant <double>(0.0);
 }