pub fn activate_output(&self, func: ActivationKind) -> Vec<f64> {
        let mut result = Vec::new();
        for index in self.input_number..self.input_number + self.output_number {
            let node = &self.graph[NodeIndex::new(index)];
            result.push(node.activate(func).unwrap());
        }

        result
    }
// Collect activation results of output nodes and return them
Collect activation results of output nodes and return them
Collect activation results of output nodes and return them
pub fn activate_output(&self, func: ActivationKind) -> Vec<f64> {
        let mut result = Vec::new();
        for index in self.input_number..self.input_number + self.output_number {
            let node = &self.graph[NodeIndex::new(index)];
            result.push(node.activate(func).unwrap());
        }
        result
    }
pub fn activate_output ( & self , func : ActivationKind ) -> Vec < f64 > { let mut result = Vec :: new ( ) ; for index in self . input_number .. self . input_number + self . output_number { let node = & self . graph [ NodeIndex :: new ( index ) ] ; result . push ( node . activate ( func ) . unwrap ( ) ) ; } result }
Collect activation results of output nodes and return them
Collect activation results of output nodes and return them
&self
func
ActivationKind