MCPcopy Create free account

hub / github.com/athms/learning-from-brains / functions

Functions222 in github.com/athms/learning-from-brains

Methodprep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/bert.py:29
Methodprep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/base.py:226
Methodprep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/dummy.py:62
Methodprep_batch
( self, batch: Dict[str, torch.tensor] )
src/embedder/netbert.py:29
Methodpreprocess_sample
( self, sample: Dict[str, np.ndarray] )
src/batcher/bert.py:355
Methodpreprocess_sample
( self, sample )
src/batcher/base.py:235
Functionsplit_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
Methodswitch_decoding_mode
(self, is_decoding_mode: bool=False)
src/embedder/base.py:118
Methodswitch_decoding_mode
(self, is_decoding_mode: bool=False)
src/embedder/dummy.py:18
Methodswitch_decoding_mode
( self, is_decoding_mode: bool=True, num_decoding_classes: int=None )
src/decoder/linear_baseline.py:31
Methodswitch_decoding_mode
( self, is_decoding_mode: bool=False, num_decoding_classes: int=None )
src/decoder/autoencoder.py:291
Methodswitch_decoding_mode
( self, is_decoding_mode: bool=False, num_decoding_classes: int=None )
src/decoder/gpt.py:53
Functiontest_adapt_decoding
()
tests/test_adapt.py:41
Functiontest_checkpoint_forward_pass
()
tests/test_checkpoints.py:85
Functiontest_checkpoint_weights
()
tests/test_checkpoints.py:44
Functiontest_decoding
()
tests/test_train.py:56
Functiontest_embed_dims
()
tests/test_embed_dims.py:31
Functiontest_freeze
()
tests/test_freeze.py:36
Functiontest_from_pretrained
()
tests/test_from-pretrained.py:34
Functiontest_pretrain
()
tests/test_train.py:31
Functiontest_resume
()
tests/test_resume.py:36
Methodwrite_all_preproc_bold_to_tar
write preproc bold files to .tar
src/preprocessor.py:425
← previous201–222 of 222, ranked by callers