MCPcopy Create free account

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

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

↓ 3 callersFunctioncompute_rdp
Compute RDP of the Sampled Gaussian Mechanism. Args: q: The sampling rate. noise_multiplier: The ratio of the standard deviation of the G
vision/DP-SGD/rdp_accountant.py:231
↓ 3 callersMethodcompute_score_full
(self, L, tau)
language/bert/bert_code/fairseq/models/insertion_transformer.py:43
↓ 3 callersFunctionconsumer
(tensor)
language/bert/bert_code/preprocess.py:300
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
vision/GEP/models/resnet_cifar.py:10
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
vision/DP-SGD/models/resnet_cifar.py:10
↓ 3 callersFunctioncreateLogger
(quiet, debug)
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:2936
↓ 3 callersFunctiondataset_dest_prefix
(args, output_prefix, lang)
language/bert/bert_code/preprocess.py:322
↓ 3 callersFunctionedit_distance2_with_dp
language/bert/bert_code/fairseq/clib/libnat/edit_dist.cpp:14
↓ 3 callersMethodencode
BPE-encode a sentence (or multiple sentences). Every sequence begins with a beginning-of-sentence (`<s>`) symbol. Every sent
language/bert/bert_code/fairseq/models/mcbert/hub_interface.py:36
↓ 3 callersMethodexpert_index
(self, i)
language/bert/bert_code/fairseq/tasks/translation_moe.py:113
↓ 3 callersFunctionfindMatchingBraces
:param ldelim: number of braces to match. 0 means match [[]], {{}} and {{{}}}.
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:1137
↓ 3 callersMethodfind_offsets
(filename, num_chunks)
language/bert/bert_code/fairseq/binarizer.py:72
↓ 3 callersFunctionfunc
(inner)
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:2059
↓ 3 callersMethodget_approx_grad
(self, embedding)
vision/GEP/models/basis_matching.py:86
↓ 3 callersFunctionget_encoder
(encoder_json_path, vocab_bpe_path)
language/bert/bert_code/fairseq/data/encoders/gpt2_bpe_utils.py:118
↓ 3 callersMethodget_model
Get the (non-wrapped) model instance.
language/bert/bert_code/fairseq/trainer.py:700
↓ 3 callersMethodget_normalized_probs
Get normalized probabilities (or log probs) from a net's output.
language/bert/bert_code/fairseq/models/fairseq_decoder.py:54
↓ 3 callersMethodget_train_iterator
Return an EpochBatchIterator over the training set for a given epoch.
language/bert/bert_code/fairseq/trainer.py:279
↓ 3 callersMethodhas_encoder
(self)
language/bert/bert_code/fairseq/sequence_generator.py:530
↓ 3 callersMethodinference_step
(self, generator, models, sample, prefix_tokens=None)
language/bert/bert_code/fairseq/tasks/fairseq_task.py:258
↓ 3 callersFunctionload_dict
language/bert/bert_code/corpus_graph/common.h:104
↓ 3 callersFunctionload_langpair_dataset
( data_path, split, src, src_dict, tgt, tgt_dict, combine, dataset_impl, upsample_primary,
language/bert/bert_code/fairseq/tasks/translation.py:21
↓ 3 callersFunctionload_templates
Load templates from :param file:. :param output_file: file where to save templates and modules.
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:2426
↓ 3 callersFunctionloop_for_sigma
(q, T, eps, delta, cur_sigma, interval, rdp_orders=32, rgp=True)
vision/GEP/utils.py:50
↓ 3 callersFunctionloop_for_sigma
(q, T, eps, delta, cur_sigma, interval, rdp_orders=32, rgp=True)
vision/DP-SGD/utils.py:69
↓ 3 callersMethodlr_step
Adjust the learning rate based on the validation loss.
language/bert/bert_code/fairseq/trainer.py:686
↓ 3 callersFunctionlrk_conv3x3
(in_planes, out_planes, stride=1, rank=1, group=1, kernel_size=3, padding=1)
vision/RGP/models/resnet_cifar.py:16
↓ 3 callersFunctionmake_binary_alignment_dataset
(input_prefix, output_prefix, num_workers)
language/bert/bert_code/preprocess.py:160
↓ 3 callersFunctionmake_dataset
(vocab, input_prefix, output_prefix, lang, num_workers=1)
language/bert/bert_code/preprocess.py:214
↓ 3 callersMethodmask
Helper to get index of mask symbol
language/bert/bert_code/fairseq/data/legacy/masked_lm_dictionary.py:26
↓ 3 callersFunctionmerge
(key, left_pad, move_eos_to_beginning=False)
language/bert/bert_code/fairseq/data/language_pair_dataset.py:19
↓ 3 callersFunctionpages_from
Scans input extracting pages. :return: (id, revid, title, namespace key, page), page is a list of lines.
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:2471
↓ 3 callersMethodparse
(cls, body)
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:366
↓ 3 callersFunctionparse_lambda_config
Parse the configuration of lambda coefficient (for scheduling). x = "3" # lambda will be a constant equal to x x = "0:1,
language/bert/bert_code/fairseq/tasks/semisupervised_translation.py:35
↓ 3 callersFunctionread_longs
(f, n)
language/bert/bert_code/fairseq/data/indexed_dataset.py:73
↓ 3 callersMethodregister_classification_head
Register a classification head.
language/bert/bert_code/fairseq/models/electra/model.py:140
↓ 3 callersMethodresult_string
(self, order=4)
language/bert/bert_code/fairseq/bleu.py:120
↓ 3 callersFunctionsafeOpen
language/bert/bert_code/fastbpe/fastBPE/fastBPE.hpp:35
↓ 3 callersMethodsave_checkpoint
Save all training state in a checkpoint file.
language/bert/bert_code/fairseq/trainer.py:199
↓ 3 callersFunctionsplit
language/bert/bert_code/fastbpe/fastBPE/fastBPE.hpp:446
↓ 3 callersMethodsubst
(self, params, extractor, depth=0)
language/bert/bert_code/preprocess/pretrain/WikiExtractor.py:381
↓ 3 callersMethodtokenize
(self, sentence: str)
language/bert/bert_code/fairseq/hub_utils.py:155
↓ 3 callersMethodtrain_step
Do forward, backward and parameter update.
language/bert/bert_code/fairseq/trainer.py:306
↓ 3 callersFunctiontransformer_vaswani_wmt_en_de_big
(args)
language/bert/bert_code/fairseq/models/transformer.py:759
↓ 3 callersFunctionunfold1d
unfold T x B x C to T x B x C x K
language/bert/bert_code/fairseq/modules/unfold.py:9
↓ 3 callersFunctionwrite_longs
(f, a)
language/bert/bert_code/fairseq/data/indexed_dataset.py:79
↓ 3 callersMethodwriter
(cls, path, dtype)
language/bert/bert_code/fairseq/data/indexed_dataset.py:356
↓ 2 callersFunctionDynamicConv
(input_size, kernel_size=1, padding_l=None, num_heads=1, weight_dropout=0., weight_softmax=Fal
language/bert/bert_code/fairseq/modules/dynamic_convolution.py:14
↓ 2 callersFunctionEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/fconv.py:561
↓ 2 callersFunctionEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/lightconv.py:650
↓ 2 callersFunctionEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/fconv_self_att.py:491
↓ 2 callersFunctionLightweightConv
(input_size, kernel_size=1, padding_l=None, num_heads=1, weight_dropout=0., weight_softmax
language/bert/bert_code/fairseq/modules/lightweight_convolution.py:14
↓ 2 callersFunctionLinear
(in_features, out_features, bias=True)
language/bert/bert_code/fairseq/modules/dynamic_convolution.py:33
↓ 2 callersFunctionPositionalEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/fconv.py:568
↓ 2 callersFunctionPositionalEmbedding
(num_embeddings, embedding_dim, padding_idx)
language/bert/bert_code/fairseq/models/fconv_self_att.py:497
↓ 2 callersFunction__Pyx_BufFmt_CheckString
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23431
↓ 2 callersFunction__Pyx_BufFmt_CheckString
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20782
↓ 2 callersFunction__Pyx_BufFmt_DescribeTypeChar
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23118
↓ 2 callersFunction__Pyx_BufFmt_DescribeTypeChar
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20469
↓ 2 callersFunction__Pyx_BufFmt_ExpectNumber
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23107
↓ 2 callersFunction__Pyx_BufFmt_ExpectNumber
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20458
↓ 2 callersFunction__Pyx_BufFmt_Init
BufferFormatCheck */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23065
↓ 2 callersFunction__Pyx_BufFmt_Init
BufferFormatCheck */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20416
↓ 2 callersFunction__Pyx_GetAttr3
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:24783
↓ 2 callersFunction__Pyx_GetBuffer
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25899
↓ 2 callersFunction__Pyx_GetBuffer
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:23148
↓ 2 callersFunction__Pyx_HasAttr
HasAttr */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:24955
↓ 2 callersFunction__Pyx_IsSubtype
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25259
↓ 2 callersFunction__Pyx_IsSubtype
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22476
↓ 2 callersFunction__Pyx_IsSubtype
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:4249
↓ 2 callersFunction__Pyx_Is_Little_Endian
IsLittleEndian */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23054
↓ 2 callersFunction__Pyx_Is_Little_Endian
IsLittleEndian */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20405
↓ 2 callersFunction__Pyx_ListComp_Append
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:1022
↓ 2 callersFunction__Pyx_PyFunction_FastCallNoKw
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23616
↓ 2 callersFunction__Pyx_PyFunction_FastCallNoKw
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20996
↓ 2 callersFunction__Pyx_PyFunction_FastCallNoKw
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:2942
↓ 2 callersFunction__Pyx_PyInt_From_long
CIntToPy */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:26305
↓ 2 callersFunction__Pyx_PyList_Extend
ListExtend.proto */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:1888
↓ 2 callersFunction__Pyx_PyList_Extend
ListExtend.proto */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:1838
↓ 2 callersFunction__Pyx_PyObject_CallMethO
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23755
↓ 2 callersFunction__Pyx_PyObject_CallMethO
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:3081
↓ 2 callersFunction__Pyx_PyObject_GetAttrStrNoError
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:3476
↓ 2 callersFunction__Pyx_PyUnicode_Equals
UnicodeEquals */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22019
↓ 2 callersFunction__Pyx_Raise
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:3237
↓ 2 callersFunction__Pyx_RaiseUnboundLocalError
None */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25474
↓ 2 callersFunction__Pyx_RaiseUnboundLocalError
None */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22691
↓ 2 callersFunction__Pyx_RefNannyImportAPI
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23010
↓ 2 callersFunction__Pyx_RefNannyImportAPI
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:20361
↓ 2 callersFunction__Pyx_RefNannyImportAPI
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:2755
↓ 2 callersFunction__Pyx_ReleaseBuffer
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25907
↓ 2 callersFunction__Pyx_ReleaseBuffer
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:23156
↓ 2 callersFunction__Pyx_ValidateAndInit_memviewslice
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:26208
↓ 2 callersFunction__Pyx_crop_slice
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:21224
↓ 2 callersFunction__Pyx_init_memviewslice
MemviewSliceInit */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:23933
↓ 2 callersFunction__Pyx_init_memviewslice
MemviewSliceInit */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:21282
↓ 2 callersFunction__Pyx_pretend_to_initialize
__GNUC__ */
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:846
↓ 2 callersFunction__Pyx_setup_reduce_is_named
SetupReduce */
language/bert/bert_code/fairseq/data/token_block_utils_fast.cpp:25555
↓ 2 callersFunction__Pyx_setup_reduce_is_named
SetupReduce */
language/bert/bert_code/fairseq/data/data_utils_fast.cpp:22804
↓ 2 callersFunction__Pyx_setup_reduce_is_named
SetupReduce */
language/bert/bert_code/fastbpe/fastBPE/fastBPE.cpp:3492
↓ 2 callersMethod__init__
(self, models)
language/bert/bert_code/fairseq/sequence_generator.py:523
← previousnext →301–400 of 3,168, ranked by callers