Add convertFp16 mode.
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
#include "MatlabCreatorPrivate.h"
|
||||
#include "MatlabCreatorVariableWindowPrivate.h"
|
||||
#include "MatlabCreatorConvertFp16Private.h"
|
||||
|
||||
MatlabCreator::MatlabCreator(const std::string& aDirectoryPath)
|
||||
: mPrivate(new MatlabCreatorPrivate(aDirectoryPath))
|
||||
, mVariableWindowPrivate(new MatlabCreatorVariableWindowPrivate(aDirectoryPath))
|
||||
, mConvertFp16Private(new MatlabCreatorConvertFp16Private(aDirectoryPath))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -24,5 +26,10 @@ bool MatlabCreator::createKITVariableWindowMat(const std::string& aOutputPath)
|
||||
return mVariableWindowPrivate->createKITMat(aOutputPath);
|
||||
}
|
||||
|
||||
bool MatlabCreator::createKITConvertFp16Mat(const std::string& aOutputPath)
|
||||
{
|
||||
return mConvertFp16Private->createKITMat(aOutputPath);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user