Function ams::ml::parsePath

Function Documentation

static inline AbstractModel::Path ams::ml::parsePath(const json &Root)

Extracts the path from a JSON object.

If "model_path" is present, the path is validated against the filesystem. Returns an empty path if the key is missing.