loadSync(artifacts) {
        const weightMap = this.io.decodeWeights(artifacts.weightData, artifacts.weightSpecs);
        return this.loadWithWeightMap(artifacts, weightMap);
    }
Synchronously construct the in memory weight map and
compile the inference graph.

@doc {heading: 'Models', subheading: 'Classes', ignoreCI: true}