private void CheckInputValuesCanBeClamped(IEnumerable <double> inputValues) { if (InputUnits.Count() != inputValues.Count()) { throw new ArgumentException(InputValuesCannotBeClampedExceptionMessage); } }
private void ClampInputs(IEnumerable <double> inputValues) { var i = 0; foreach (var inputValue in inputValues) { InputUnits.ElementAt(i).UnitActivation.Properties.NetInput = inputValue; i++; } }