Example #1
0
 public TanhActivation(CPU.TanhActivation <T> tanhActivation) : base(tanhActivation.Name, tanhActivation.InputNames, tanhActivation.OutputNames)
 {
     this.SetParallel(true);
     this.InitFunc(new StreamingContext());
 }
Example #2
0
 public TanhActivation(CPU.TanhActivation tanhActivation) : base(tanhActivation.Name, tanhActivation.InputNames, tanhActivation.OutputNames)
 {
     this.SetParallel(true);
 }