void DescenderPath::printScore() const { if (hasTop()) computeHalfScore(true,true); computeHalfScore(false,true); double lenRatioBias = computeLenRatioBias(); printf("lenRatioBis=%f,\ttotal score=%f\n",lenRatioBias,holdScore); }
std::string SoftMaxLayer::toString() { std::stringstream ss; ss << "layer {\n"; ss << " name: \""; ss << getName() << "\"\n"; ss << " type: \""; ss << getType() << "\"\n"; if ( hasBottom() ) { ss << " bottom: \""; ss << getBottom() << "\"\n"; } if ( hasTop() ) { ss << " top: \""; ss << getTop() << "\"\n"; } ss << "}" << std::endl; return ss.str(); }