came.save_hidden_states¶
- came.save_hidden_states(data_list: List, path: Path | str)¶
Save hidden states into .h5 file
- Parameters:
data_list – a list of data matrix, or a list of dicts whose values are matrices
path – file-path ends with .h5, if not, ‘.h5’ will be appended to it.
- Return type:
None