[][src]Function deep_learning_playground::neural_network::activate_functions::identity

pub fn identity<T>() -> Box<dyn Fn(Array2<T>) -> Array2<T>>

identity generates the identity function \( \text{id}(x)=x \) for Array2