Function revonet::neuro::compute_activations_inplace
[−]
[src]
pub fn compute_activations_inplace(xs: &mut [f32], actf: ActivationFunctionType)
Computes activation function outputs by using array of arguments. The result is written into the input array.
Arguments:
xs
- array of arguments for vector of activation functions.actf
- element of theActivationFunctionType
denoting type of activation.