https://github.com/Microsoft/CNTK
Revision b8eb51d4a3cceb1698da34f52e46ca152667c25b authored by yzhang87 on 14 December 2015, 16:00:20 UTC, committed by yzhang87 on 14 December 2015, 16:00:20 UTC
1 parent a45365c
Raw File
Tip revision: b8eb51d4a3cceb1698da34f52e46ca152667c25b authored by yzhang87 on 14 December 2015, 16:00:20 UTC
Fix kaldi Reader. 1) Using the new MBLayout interface. 2) Modify the configParameter to configRecordType to consistent with HTKMLFReader. 3) Clean the warning message. Next: refactor to make it consistent with HTKMLFReader.
Tip revision: b8eb51d
BrainScriptEvaluator.h
// BrainScriptEvaluator.h -- execute what's given in a config file

#pragma once

#include "Basics.h"
#include "ScriptableObjects.h"
#include "BrainScriptParser.h"

#include <memory>   // for shared_ptr

namespace Microsoft { namespace MSR { namespace BS {

    using namespace std;
    using namespace Microsoft::MSR::ScriptableObjects;

    // -----------------------------------------------------------------------
    // functions exposed by this module
    // -----------------------------------------------------------------------

    // understand and execute from the syntactic expression tree
    ConfigValuePtr Evaluate(ExpressionPtr);     // evaluate the expression tree
    void Do(ExpressionPtr e);                   // evaluate e.do
    shared_ptr<Object> EvaluateField(ExpressionPtr e, const wstring & id);  // for experimental CNTK integration

    // some simple tests
    void SomeTests();

}}} // end namespaces
back to top