/** * * @return int The total number of neurons on this layer, includes context, bias * and regular. */ public function getTotalCount() { if ($this->contextFedBy == null) { return $this->getCount() + ($this->hasBias() ? 1 : 0); } else { return $this->getCount() + ($this->hasBias() ? 1 : 0) + $this->contextFedBy->getCount(); } }
public function getActivationFunction() { return parent::getActivation(); }