convertTensorMapToTensorsMap(map) {
        return Object.keys(map).reduce((newMap, key)=>{
            newMap[key] = [
                map[key]
            ];
            return newMap;
        }, {});
    }
Dispose intermediate tensors for model debugging mode (flag
KEEP_INTERMEDIATE_TENSORS is true).

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