dynamic_dataset =============== .. py:module:: topmost.data.dynamic_dataset Module Contents --------------- .. autoapisummary:: topmost.data.dynamic_dataset._SequentialDataset topmost.data.dynamic_dataset.DynamicDataset .. py:class:: _SequentialDataset(bow, times, time_wordfreq) Bases: :py:obj:`torch.utils.data.Dataset` .. py:attribute:: bow .. py:attribute:: times .. py:attribute:: time_wordfreq .. py:method:: __len__() .. py:method:: __getitem__(index) .. py:class:: DynamicDataset(dataset_dir, batch_size=200, read_labels=False, device='cpu', as_tensor=True) .. py:attribute:: vocab_size :value: 0 .. py:attribute:: train_size .. py:attribute:: num_times .. py:attribute:: train_time_wordfreq .. py:method:: load_data(path, read_labels) .. py:method:: get_time_wordfreq(bow, times)