MCPcopy Create free account

hub / github.com/dayu11/Differentially-Private-Deep-Learning / functions

Functions3,168 in github.com/dayu11/Differentially-Private-Deep-Learning

↓ 7 callersMethod__init__
(self, pad_left, pad_right)
language/bert/bert_code/fairseq/models/wav2vec.py:302
↓ 7 callersFunctionbase_architecture
(args)
language/bert/bert_code/fairseq/models/roberta/model.py:337
↓ 7 callersFunctiondata_file_path
(prefix_path)
language/bert/bert_code/fairseq/data/indexed_dataset.py:106
↓ 7 callersMethoddataset
Return a loaded dataset split. Args: split (str): name of the split (e.g., train, valid, test) Returns:
language/bert/bert_code/fairseq/tasks/fairseq_task.py:75
↓ 7 callersMethodfinalize
Sort symbols by frequency in descending order, ignoring special ones. Args: - threshold defines the minimum word count
language/bert/bert_code/fairseq/data/dictionary.py:120
↓ 7 callersFunctionfunctionParams
Build a dictionary of var/value from :param: args. Parameters can be either named or unnamed. In the latter case, their name is taken fro
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:1342
↓ 7 callersMethodsave
Stores dictionary into a text file
language/bert/bert_code/fairseq/data/dictionary.py:241
↓ 7 callersMethodsetup_task
(cls, args, **kwargs)
language/bert/bert_code/fairseq/tasks/mcbert.py:71
↓ 7 callersMethodstop
(self, n=1)
language/bert/bert_code/fairseq/meters.py:61
↓ 6 callersFunctionEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/transformer.py:690
↓ 6 callersFunctionLinear
Linear layer (input: N x T x C)
language/bert/bert_code/fairseq/models/lstm.py:494
↓ 6 callersFunction__Pyx_BufFmt_ProcessTypeChunk
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23285
↓ 6 callersFunction__Pyx_BufFmt_ProcessTypeChunk
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20636
↓ 6 callersFunction__Pyx_BufFmt_RaiseUnexpectedChar
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23114
↓ 6 callersFunction__Pyx_BufFmt_RaiseUnexpectedChar
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20465
↓ 6 callersFunction__Pyx_GetException
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25074
↓ 6 callersFunction__Pyx_GetException
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:21901
↓ 6 callersFunction__Pyx_ImportType
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25633
↓ 6 callersFunction__Pyx_ImportType
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22882
↓ 6 callersFunction__Pyx_PyErr_GivenExceptionMatches
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25326
↓ 6 callersFunction__Pyx_PyErr_GivenExceptionMatches
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22543
↓ 6 callersFunction__Pyx_PyInt_As_int
CIntFromPy */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:26962
↓ 6 callersFunction__Pyx_PyList_Append
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:1661
↓ 6 callersFunction__Pyx_PyList_Append
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:1498
↓ 6 callersFunction__Pyx_PyUnicode_Equals
UnicodeEquals */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:24167
↓ 6 callersFunction__pyx_memoryview_refcount_copying
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:20206
↓ 6 callersFunction__pyx_memoryview_refcount_copying
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:17769
↓ 6 callersMethod_set_input_buffer
(self, incremental_state, new_buffer)
language/bert/bert_code/fairseq/modules/dynamic_convolution.py:228
↓ 6 callersMethodalter_dataset_langtok
(self, lang_pair_dataset, src_eos=None, src_lang=None, tgt_eos=None, tgt_lang=No
language/bert/bert_code/fairseq/tasks/multilingual_translation.py:171
↓ 6 callersFunctionbase_architecture
(args)
language/bert/bert_code/fairseq/models/transformer.py:706
↓ 6 callersFunctionbase_lm_architecture
(args)
language/bert/bert_code/fairseq/models/transformer_lm.py:142
↓ 6 callersMethoddevice
(self)
language/bert/bert_code/fairseq/hub_utils.py:99
↓ 6 callersFunctiondict_path
(lang)
language/bert/bert_code/preprocess.py:44
↓ 6 callersMethodgenerate
Score a batch of translations.
language/bert/bert_code/fairseq/sequence_scorer.py:22
↓ 6 callersMethodget_batch_iterator
Get an iterator that yields batches of data from the given dataset. Args: dataset (~fairseq.data.FairseqDataset): datase
language/bert/bert_code/fairseq/tasks/fairseq_task.py:92
↓ 6 callersMethodindex
Returns the index of the specified symbol
language/bert/bert_code/fairseq/data/dictionary.py:60
↓ 6 callersFunctionindex_file_path
(prefix_path)
language/bert/bert_code/fairseq/data/indexed_dataset.py:102
↓ 6 callersMethodload_dictionary
Load the dictionary from the filename Args: filename (str): the filename
language/bert/bert_code/fairseq/tasks/fairseq_task.py:30
↓ 6 callersMethodmaybe_layer_norm
(self, layer_norm, x, before=False, after=False)
language/bert/bert_code/fairseq/modules/transformer_layer.py:295
↓ 6 callersMethodmaybe_layer_norm
(self, layer_norm, x, before=False, after=False)
language/bert/bert_code/fairseq/models/lightconv.py:635
↓ 6 callersMethodmodel
(self)
language/bert/bert_code/fairseq/trainer.py:103
↓ 6 callersMethodnext_epoch_itr
Return a new iterator over the dataset. Args: shuffle (bool, optional): shuffle batches before returning the iter
language/bert/bert_code/fairseq/data/iterators.py:173
↓ 6 callersMethodopen
(self, filename)
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:2411
↓ 6 callersMethodoutput_layer
(self, features, masked_tokens=None, **unused)
language/bert/bert_code/fairseq/models/mcbert/model.py:364
↓ 6 callersFunctionsplit_exists
(split, src, tgt, lang, data_path)
language/bert/bert_code/fairseq/tasks/translation.py:29
↓ 6 callersMethodtransform
Transforms wiki markup. @see https://www.mediawiki.org/wiki/Help:Formatting
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:620
↓ 5 callersFunctionPositionalEmbedding
( num_embeddings: int, embedding_dim: int, padding_idx: int, learned: bool = F
language/bert/bert_code/fairseq/modules/positional_embedding.py:12
↓ 5 callersFunction__Pyx_ParseOptionalKeywords
ParseKeywords */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:21480
↓ 5 callersFunction__Pyx_PyCFunction_FastCall
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23797
↓ 5 callersFunction__Pyx_PyCFunction_FastCall
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20973
↓ 5 callersFunction__Pyx_PyInt_As_int
CIntFromPy */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:23965
↓ 5 callersFunction__Pyx_PyObject_Call
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:3061
↓ 5 callersFunction__Pyx_SafeReleaseBuffer
BufferGetAndValidate */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20919
↓ 5 callersFunction__Pyx_setup_reduce
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25571
↓ 5 callersMethod__init__
(self, *args, **kwargs)
language/bert/bert_code/fairseq/models/fairseq_model.py:256
↓ 5 callersMethod__init__
(self, args, dictionary)
language/bert/bert_code/fairseq/models/mcbert/model.py:299
↓ 5 callersMethod__init__
(self, args, gen_encoder, disc_encoder)
language/bert/bert_code/fairseq/models/electra/model.py:41
↓ 5 callersFunction__pyx_memoryview_get_slice_from_memoryview
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:17869
↓ 5 callersFunction__pyx_memoryview_get_slice_from_memoryview
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:15432
↓ 5 callersFunction__pyx_memoryview_slice_copy
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:17969
↓ 5 callersFunction__pyx_memoryview_slice_copy
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:15532
↓ 5 callersMethod_map_index
(self, key, index)
language/bert/bert_code/fairseq/data/round_robin_zip_datasets.py:42
↓ 5 callersMethodadd_args
Add optimizer-specific arguments to the parser.
language/bert/bert_code/fairseq/optim/sgd.py:18
↓ 5 callersFunctionbase_architecture
(args)
language/bert/bert_code/fairseq/models/fconv.py:603
↓ 5 callersMethodbuild_optimizer
Args: args (argparse.Namespace): fairseq args params (iterable): iterable of parameters to optimize
language/bert/bert_code/fairseq/optim/fp16_optimizer.py:199
↓ 5 callersMethodcreate_aligned
Create a domain instance that is aligned with the origin. The actual domain might be slightly larger than [t_min, t_max] but
language/bert/prv_accountant/prv_accountant/domain.py:26
↓ 5 callersFunctiondie
language/bert/bert_code/preprocess/pretrain/calc_wordfreq.cpp:13
↓ 5 callersMethodforward
(self, features, masked_tokens=None, **kwargs)
language/bert/bert_code/profiling.py:51
↓ 5 callersMethodforward_decoder
(self, tokens, encoder_outs, temperature=1.)
language/bert/bert_code/fairseq/sequence_generator.py:543
↓ 5 callersMethodforward_embedding
(self, prev_output_tokens, states=None)
language/bert/bert_code/fairseq/models/nonautoregressive_transformer.py:415
↓ 5 callersFunctionget_parser
(desc, default_task='translation')
language/bert/bert_code/fairseq/options.py:158
↓ 5 callersMethodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
language/bert/bert_code/fairseq/tasks/mcbert.py:78
↓ 5 callersFunctionmake_dataset
(path, impl, fix_lua_indexing=False, dictionary=None)
language/bert/bert_code/fairseq/data/indexed_dataset.py:51
↓ 5 callersFunctionmerge
(key, is_list=False)
language/bert/bert_code/fairseq/data/monolingual_dataset.py:16
↓ 5 callersFunctionreadText
language/bert/bert_code/fastbpe/fastBPE/fastBPE.hpp:44
↓ 5 callersMethodshift_right
Shift the domain right by `dt`
language/bert/prv_accountant/prv_accountant/domain.py:51
↓ 5 callersFunctiontrain_path
(lang)
language/bert/bert_code/preprocess.py:32
↓ 4 callersFunctionEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/lstm.py:471
↓ 4 callersFunctionLinear
(in_features, out_features, bias=True)
language/bert/bert_code/fairseq/modules/transformer_layer.py:306
↓ 4 callersFunction__Pyx_BufFmt_RaiseExpected
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23261
↓ 4 callersFunction__Pyx_BufFmt_RaiseExpected
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20612
↓ 4 callersFunction__Pyx_Import
Import */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22402
↓ 4 callersFunction__Pyx_PyErr_GivenExceptionMatches
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:4316
↓ 4 callersFunction__Pyx_RaiseBufferFallbackError
BufferFallbackError */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:24269
↓ 4 callersFunction__Pyx_SetVtable
SetVTable */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25537
↓ 4 callersFunction__Pyx_copy_spec_to_module
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:22599
↓ 4 callersFunction__Pyx_copy_spec_to_module
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:19993
↓ 4 callersFunction__Pyx_copy_spec_to_module
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:2559
↓ 4 callersFunction__Pyx_decode_c_string
decode_c_string */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25182
↓ 4 callersFunction__Pyx_decode_c_string
decode_c_string */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22258
↓ 4 callersFunction__Pyx_is_valid_index
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:647
↓ 4 callersFunction__Pyx_is_valid_index
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:646
↓ 4 callersFunction__Pyx_setup_reduce
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22820
↓ 4 callersMethod__init__
(self, iterable, epoch=None, prefix=None)
language/bert/bert_code/fairseq/progress_bar.py:69
↓ 4 callersMethod__init__
(self, tgt_dict)
language/bert/bert_code/fairseq/search.py:13
↓ 4 callersMethod__init__
(self, encoder, decoder)
language/bert/bert_code/fairseq/models/lightconv.py:50
↓ 4 callersFunction__pyx_memoryview_err_dim
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:19329
↓ 4 callersFunction__pyx_memoryview_err_dim
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:16892
↓ 4 callersFunction__pyx_memoryview_fromslice
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:17486
↓ 4 callersMethod_compute_loss
outputs: batch x len x d_model targets: batch x len masks: batch x len policy_logprob: if there is
language/bert/bert_code/fairseq/criterions/nat_loss.py:29
← previousnext →101–200 of 3,168, ranked by callers