public LeakyReLU(CPU.LeakyReLU leakyReLU) : base(leakyReLU.Name, leakyReLU.InputNames, leakyReLU.OutputNames) { this.Slope = leakyReLU.Slope; this.InitParam(); this.SetParallel(true); }
public LeakyReLU(CPU.LeakyReLU <T> leakyReLU) : base(leakyReLU.Name, leakyReLU.InputNames, leakyReLU.OutputNames) { this.Slope = leakyReLU.Slope; this.SetParallel(true, new[] { new KeyValuePair <string, string>(PARAM_NAME, this.Slope.ToString()) }); this.InitFunc(new StreamingContext()); }