Commit bddf22dc authored by Han Zhang's avatar Han Zhang Committed by Julian Johannes Steinsberger-Dührßen
Browse files

Update tag schema

parent f0c7bd98
......@@ -2,20 +2,26 @@
package dltag;
tagschema DeepLearningFilePathSchema {
// tag schema definition for use in EmbeddedMontiArcDL
// TODO add corresponding implementation for the rest two tag schemas in EMADL and apply them in EMADL2CPP
/*
tag schema definition for use in EmbeddedMontiArcDL
The CNNTrainModel field of training config data is optional.
When this field is not present, we'll try to load the CNNTrain model with the same name as the tagged MTDL/EMADL model
TODO add corresponding implementation for the rest two tag schemas in EMADL and apply them in EMADL2CPP
*/
tagtype DataPath for EMAComponentSymbol is { path = ${path:String}, type = ${type:String} };
tagtype TrainingConfigDataPath for EMAComponentSymbol is { path = ${path:String} (, fileName = ${fileName:String})? };
tagtype PreTrainedModelWeightsDataPath for ComponentSymbol is { path = ${path:String}, fileName = ${type:String} };
tagtype TrainingConfigDataPath for EMAComponentSymbol is { CNNTrainModel = ${CNNTrainModel:String} };
tagtype PreTrainedModelWeightsDataPath for EMAComponentSymbol is { path = ${path:String}, fileName = ${type:String} };
// tag schema definition for use in MontiThingsDL
// the name of training config data is optional,
// in this case, we'll try to load the file with the same name as the architecture
/*
tag schema definition for use in MontiThingsDL
The CNNTrainModel field of training config data is optional.
When this field is not present, we'll try to load the CNNTrain model with the same name as the tagged MTDL/EMADL model
*/
tagtype DataPath for ComponentSymbol is { path = ${path:String}, type = ${type:String} };
tagtype TrainingConfigDataPath for ComponentSymbol is { path = ${path:String} (, fileName = ${fileName:String})? };
tagtype TrainingConfigDataPath for ComponentSymbol is { CNNTrainModel = ${CNNTrainModel:String} };
tagtype PreTrainedModelWeightsDataPath for ComponentSymbol is { path = ${path:String}, fileName = ${type:String} };
tagtype DataPath for ComponentInstanceSymbol is { path = ${path:String}, type = ${type:String} };
tagtype TrainingConfigDataPath for ComponentInstanceSymbol is { path = ${path:String} (, fileName = ${fileName:String})? };
tagtype TrainingConfigDataPath for ComponentInstanceSymbol is { CNNTrainModel = ${CNNTrainModel:String} };
tagtype PreTrainedModelWeightsDataPath for ComponentInstanceSymbol is { path = ${path:String}, fileName = ${type:String} };
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment