.. role:: hidden :class: hidden-section Utils ===== .. currentmodule:: poutyne Basic Torch Utils ----------------- These utils functions only support the following basic Python types: tuple, list and dict. .. autofunction:: torch_to_numpy .. autofunction:: numpy_to_torch .. autofunction:: torch_apply .. autofunction:: set_seeds .. autofunction:: save_random_states .. autofunction:: load_random_states Plotting -------- .. autofunction:: plot_history .. autofunction:: plot_metric Miscellaneous ------------- .. autofunction:: get_batch_size