Esempio n. 1
0
def writeModel(fileName: str):
    global model
    # Start creating the JSON directly from runtime model
    strJSON = Serializer.toJSON(model)
Esempio n. 2
0
def loadModel(fileName: str):
    """ Read the model from disk """
    global model
    model = Serializer.fromJSON(fileName)