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