identity method

List<double> identity(
  1. List<double> val
)

No-op activation function

f(x) = x

Implementation

List<double> identity(List<double> val) {
  return val;
}