load_latents¶
-
behavenet.plotting.load_latents(hparams, version, dtype='val')[source]¶ Load all latents as a single array.
- Parameters
hparams (
dict) – needs to contain enough information to specify both a model and the associated dataversion (
int) – version from test tube experiment defined inhparamsdtype (
str) – ‘train’ | ‘val’ | ‘test’
- Returns
shape (time, n_latents)
- Return type
np.ndarray