Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/athms/learning-from-brains
/ functions
Functions
222 in github.com/athms/learning-from-brains
⨍
Functions
222
◇
Types & classes
26
Method
prep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/bert.py:29
Method
prep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/base.py:226
Method
prep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/dummy.py:62
Method
prep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/netbert.py:29
Method
preprocess_sample
( self, sample: Dict[str, np.ndarray] )
src/batcher/bert.py:355
Method
preprocess_sample
( self, sample )
src/batcher/base.py:235
Function
split_tarfile_paths_train_val
( tarfile_paths, frac_val_per_dataset: float=0.05, n_val_subjects_per_dataset: int=None, n_tes
src/tools/data.py:54
Method
switch_decoding_mode
(self, is_decoding_mode: bool=False)
src/embedder/base.py:118
Method
switch_decoding_mode
(self, is_decoding_mode: bool=False)
src/embedder/dummy.py:18
Method
switch_decoding_mode
( self, is_decoding_mode: bool=True, num_decoding_classes: int=None )
src/decoder/linear_baseline.py:31
Method
switch_decoding_mode
( self, is_decoding_mode: bool=False, num_decoding_classes: int=None )
src/decoder/autoencoder.py:291
Method
switch_decoding_mode
( self, is_decoding_mode: bool=False, num_decoding_classes: int=None )
src/decoder/gpt.py:53
Function
test_adapt_decoding
()
tests/test_adapt.py:41
Function
test_checkpoint_forward_pass
()
tests/test_checkpoints.py:85
Function
test_checkpoint_weights
()
tests/test_checkpoints.py:44
Function
test_decoding
()
tests/test_train.py:56
Function
test_embed_dims
()
tests/test_embed_dims.py:31
Function
test_freeze
()
tests/test_freeze.py:36
Function
test_from_pretrained
()
tests/test_from-pretrained.py:34
Function
test_pretrain
()
tests/test_train.py:31
Function
test_resume
()
tests/test_resume.py:36
Method
write_all_preproc_bold_to_tar
write preproc bold files to .tar
src/preprocessor.py:425
← previous
201–222 of 222, ranked by callers