/**
 *
 * @param string $name        	
 * @param ActivationFunction $af        	
 * @return string
 */
function generateActivationFactory($name, ActivationFunction $af)
{
    $result = strtoupper($name);
    if ($af->getParams() != null && count($af->getParams()) > 0) {
        $result .= '[';
        NumberList\toList(CSVFormat::EG_FORMAT, $result, $af->getParams());
        $result .= ']';
    }
    return $result;
}
 /**
  * @return string The weights as a comma separated list.
  */
 public function dumpWeights()
 {
     $result = '';
     NumberList\toList(CSVFormat\EG_FORMAT, $result, $this->structure->getFlat()->getWeights());
     return $result->toString();
 }