This commit is contained in:
Vadim Mazalov 2020-01-22 21:12:35 -08:00
Родитель 47c41c7d09
Коммит 81f6d20aca
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -159,9 +159,13 @@ public:
m_constInputGateValue = config("constInputGateValue", "false");
m_constOutputGateValue = config("constOutputGateValue", "false");
m_forgetGateInitVal = config("forgetGateInitVal", "-1");
m_inputGateInitVal = config("inputGateInitVal", "-1");
m_outputGateInitVal = config("outputGateInitVal", "-1");
ElemType forgetGateInitVal = config("forgetGateInitVal", "-1");
ElemType inputGateInitVal = config("inputGateInitVal", "-1");
ElemType outputGateInitVal = config("outputGateInitVal", "-1");
m_forgetGateInitVal = forgetGateInitVal;
m_inputGateInitVal = inputGateInitVal;
m_outputGateInitVal = outputGateInitVal;
m_sparse_input = config("sparseinput", "false");

Просмотреть файл

@ -56,6 +56,7 @@ public:
// returns evaluation node values per sample determined by evalNodeNames (which can include both training and eval criterion nodes)
vector<EpochCriterion> Evaluate(IDataReader* dataReader, const vector<wstring>& evalNodeNames, const size_t mbSize, const size_t testSize = requestDataSize)
{
fprintf(stderr, "========================= Entered Evaluate in SimpleEvaluator.h \n");
ScopedNetworkOperationMode modeGuard(m_net, NetworkOperationMode::inferring);
let evalNodes = m_net->GetEvalNodesWithName(evalNodeNames);