File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030import torch
3131
3232import cebra .data as cebra_data
33- import cebra .distributions as cebra_distr
33+ import cebra .distributions
3434from cebra .data .datatypes import Batch
3535from cebra .data .datatypes import BatchIndex
3636
@@ -130,7 +130,7 @@ class MultiSessionLoader(cebra_data.Loader):
130130
131131 def __post_init__ (self ):
132132 super ().__post_init__ ()
133- self .sampler = cebra_distr .MultisessionSampler (self .dataset ,
133+ self .sampler = cebra . distributions .MultisessionSampler (self .dataset ,
134134 self .time_offset )
135135
136136 def get_indices (self , num_samples : int ) -> List [BatchIndex ]:
@@ -169,7 +169,7 @@ class DiscreteMultiSessionDataLoader(MultiSessionLoader):
169169 # Overwrite sampler with the discrete implementation
170170 # Generalize MultisessionSampler to avoid doing this?
171171 def __post_init__ (self ):
172- self .sampler = cebra_distr .DiscreteMultisessionSampler (self .dataset )
172+ self .sampler = cebra . distributions .DiscreteMultisessionSampler (self .dataset )
173173
174174 @property
175175 def index (self ):
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def get_years(start_year=2021):
104104
105105intersphinx_mapping = {
106106 "python" : ("https://docs.python.org/3" , None ),
107- "torch" : ("https://pytorch.org/docs/master /" , None ),
107+ "torch" : ("https://pytorch.org/docs/stable /" , None ),
108108 "sklearn" : ("https://scikit-learn.org/stable" , None ),
109109 "numpy" : ("https://numpy.org/doc/stable/" , None ),
110110 "matplotlib" : ("https://matplotlib.org/stable/" , None ),
You can’t perform that action at this time.
0 commit comments