MCPcopy Create free account

hub / github.com/SymbioticLab/Oort / functions

Functions424 in github.com/SymbioticLab/Oort

↓ 18 callersMethod__init__
(self, depth, num_classes=10)
training/utils/models.py:199
↓ 13 callersMethodgetUniqueId
(self, hostId, clientId)
training/helper/clientSampler.py:114
↓ 9 callersMethodget
(self, params_indices: list)
training/utils/utils_model.py:287
↓ 8 callersFunctionshould_apply_transform
Transforms are only randomly applied with the given probability.
training/utils/transforms_wav.py:14
↓ 7 callersMethod__init__
(self, num_classes=1000, aux_logits=True, transform_input=False, inception_blocks=None)
training/utils/inception.py:51
↓ 6 callersFunctionselect_dataset
(rank: int, partition: DataPartitioner, batch_size: int, isTest=False, is_rank=0, fractional=True, collate_fn=
training/utils/divide_data.py:536
↓ 5 callersMethod__init__
Adds noise to an input signal with specific SNR. Higher the noise level, the more noise added. Modified code from https://github.com/
training/utils/voice_data_loader.py:56
↓ 5 callersFunctionget_data_transform
(data: str)
training/utils/utils_data.py:8
↓ 4 callersMethod__init__
Adds padding to the output of the module based on the given lengths. This is to ensure that the results of the model do not change wh
training/utils/voice_model.py:41
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
training/utils/resnet_speech.py:128
↓ 4 callersFunctionaccuracy
Computes the accuracy over the k top predictions for the specified values of k
training/utils/utils_model.py:260
↓ 4 callersFunctionconv3x3
(in_planes, out_planes, stride=1)
training/utils/models.py:195
↓ 4 callersMethoddecode
Given a matrix of character probabilities, returns the decoder's best guess of the transcription Arguments: prob
training/utils/decoder.py:74
↓ 4 callersFunctiongather
(y_coords, x_coords, name)
training/utils/sparse_image_warp.py:394
↓ 4 callersMethodget_JSD
(self, dataDistr, tempClassPerWorker, sizes)
training/utils/divide_data.py:117
↓ 4 callersFunctionload_and_cache_examples
(args, tokenizer, evaluate=False)
training/utils/nlp.py:186
↓ 4 callersFunctionmask_tokens
Prepare masked tokens inputs/labels for masked language modeling: 80% MASK, 10% random, 10% original.
training/utils/nlp.py:266
↓ 4 callersFunctionplot_cdf
(datas, linelabels = None, label = None, y_label = "CDF", name = "ss")
testing/plot_figure17.py:18
↓ 4 callersMethodupdate
(self, gradients)
training/utils/yogi.py:13
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
training/utils/mobilenet.py:13
↓ 3 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
training/utils/models.py:308
↓ 3 callersFunctionload_audio
(path)
training/utils/voice_data_loader.py:24
↓ 3 callersMethodstep
(self, closure=None)
training/utils/utils_model.py:22
↓ 3 callersFunctiontest_model
(rank, model, test_data, criterion=nn.NLLLoss(), tokenizer=None)
training/utils/utils_model.py:115
↓ 2 callersMethod__init__
(self, labels, blank_index=0)
training/utils/decoder.py:34
↓ 2 callersMethod__init__
(self, in_planes, out_planes, kernel_size=3, stride=1, groups=1)
training/utils/mobilenet.py:34
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, in_channels=3)
training/utils/resnet_speech.py:105
↓ 2 callersFunction_sorted_checkpoints
(args, checkpoint_prefix="checkpoint", use_mtime=False)
training/utils/nlp.py:206
↓ 2 callersMethodcalculateSumUtil
(self, clientList)
oort/oort.py:164
↓ 2 callersMethodclientOnHost
(self, clientIds, hostId)
training/helper/clientSampler.py:121
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
training/utils/resnet_speech.py:26
↓ 2 callersMethodconvert_to_strings
Given a list of numeric sequences, returns the corresponding strings
training/utils/decoder.py:150
↓ 2 callersFunctioncreate_testing_selector
(data_distribution=None, client_info=None, model_size=None)
oort/oort.py:12
↓ 2 callersFunctioncross_squared_distance_matrix
Pairwise squared distance between two (batch) matrices' rows (2nd dim). Computes the pairwise distances between rows of x and rows of y
training/utils/sparse_image_warp.py:187
↓ 2 callersFunctionevaluate
(args, model: PreTrainedModel, tokenizer: PreTrainedTokenizer, prefix="")
training/utils/nlp.py:491
↓ 2 callersMethodgetCompletionTime
(self, batch_size, upload_epoch, model_size)
training/helper/client.py:37
↓ 2 callersMethodget_norm
(self, aList, clip_bound=0.95, thres=1e-4)
oort/oort.py:394
↓ 2 callersFunctioninit_dataset
()
training/flLibs.py:55
↓ 2 callersMethodisActive
(self, cur_time)
training/helper/client.py:21
↓ 2 callersFunctionpartition_dataset
Partitioning Data
training/utils/divide_data.py:524
↓ 2 callersFunctionphi
Coordinate-wise nonlinearity used to define the order of the interpolation. See https://en.wikipedia.org/wiki/Polyharmonic_spline for the definiti
training/utils/sparse_image_warp.py:208
↓ 2 callersMethodregisterScore
(self, clientId, reward, auxi=1.0, time_stamp=0, duration=1., success=True)
training/helper/clientSampler.py:74
↓ 2 callersMethodselect_by_category
Testing selection based on requested number of samples per category. When individual data characteristics(distribution) is provided, Oort can
oort/oort.py:97
↓ 2 callersFunctionset_seed
(args)
training/utils/nlp.py:198
↓ 2 callersFunctiontoBool
(list)
training/utils/nlp.py:250
↓ 2 callersMethoduse
(self, partition, istest, is_rank, fractional)
training/utils/divide_data.py:498
↓ 1 callersFunctionConv_1x1
(inp, oup)
training/utils/models.py:531
↓ 1 callersFunctionConv_3x3
(inp, oup, stride)
training/utils/models.py:523
↓ 1 callersFunctionSepConv_3x3
(inp, oup)
training/utils/models.py:538
↓ 1 callersMethod__repr__
(self)
training/utils/voice_model.py:126
↓ 1 callersMethod_check_exists
(self)
training/utils/openImg.py:119
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:111
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:203
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:236
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:274
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:312
↓ 1 callersMethod_forward
(self, x)
training/utils/inception.py:349
↓ 1 callersMethod_forward_impl
(self, x)
training/utils/mobilenet.py:151
↓ 1 callersMethod_hoeffding_bound
Use hoeffding bound to cap the deviation from E[X] Args: dev_tolerance: maximum deviation from the empirical (E[X]) c
oort/oort.py:57
↓ 1 callersMethod_initialize_weights
(self)
training/utils/models.py:633
↓ 1 callersMethod_make_layers
(self, cfg)
training/utils/models.py:211
↓ 1 callersFunction_rotate_checkpoints
(args, checkpoint_prefix="checkpoint", use_mtime=False)
training/utils/nlp.py:224
↓ 1 callersMethod_transform_input
(self, x)
training/utils/inception.py:103
↓ 1 callersFunctionapply_interpolation
Apply polyharmonic interpolation model to data. Given coefficients w and v for the interpolation model, we evaluate interpolated function valu
training/utils/sparse_image_warp.py:236
↓ 1 callersFunctionaudio_with_sox
crop and resample the recording with sox and loads it.
training/utils/voice_data_loader.py:341
↓ 1 callersFunctionaugment_audio_with_sox
Changes tempo and gain of the recording with sox and loads it.
training/utils/voice_data_loader.py:355
↓ 1 callersFunctioncal_accuracy
(targets, outputs)
training/utils/utils_model.py:92
↓ 1 callersFunctioncdf_transfer
(X)
testing/plot_figure17.py:20
↓ 1 callersMethodcer
Computes the Character Error Rate, defined as the edit distance. Arguments: s1 (string): space-separated sentence
training/utils/decoder.py:63
↓ 1 callersFunctioncfg
(depth)
training/utils/models.py:160
↓ 1 callersFunctioncfgRes
(depth)
training/utils/models.py:228
↓ 1 callersMethodconvert_tensor
(self, offsets, sizes)
training/utils/decoder.py:115
↓ 1 callersMethodconvert_to_strings
(self, out, seq_len)
training/utils/decoder.py:101
↓ 1 callersFunctioncreate_dense_flows
(flattened_flows, batch_size, image_height, image_width)
training/utils/sparse_image_warp.py:127
↓ 1 callersMethodcreate_tag_vocab
Creates vocab from `vocab_size` most common tags in Stackoverflow.
training/utils/stackoverflow.py:144
↓ 1 callersMethodcreate_token_vocab
Creates vocab from `vocab_size` most common words in Stackoverflow.
training/utils/stackoverflow.py:152
↓ 1 callersFunctioncreate_training_selector
(args)
oort/oort.py:9
↓ 1 callersMethoddecode
Returns the argmax decoding given the probability matrix. Removes repeated elements in the sequence, as well as blanks. Argu
training/utils/decoder.py:182
↓ 1 callersFunctiondense_image_warp
Image warping using per-pixel flow vectors. Apply a non-linear warp to the image, where the warp is specified by a dense flow field of offset
training/utils/sparse_image_warp.py:269
↓ 1 callersFunctionflatten_grid_locations
(grid_locations, image_height, image_width)
training/utils/sparse_image_warp.py:123
↓ 1 callersFunctiongenerate_flip_mapping
(num_of_labels, random_seed=0)
training/learner.py:38
↓ 1 callersFunctiongenerate_malicious_clients
(compromised_ratio, num_of_clients, random_seed=0)
training/learner.py:53
↓ 1 callersMethodgetClient
(self, clientId)
training/helper/clientSampler.py:55
↓ 1 callersMethodgetClientLenOnHost
(self, hostId)
training/helper/clientSampler.py:127
↓ 1 callersMethodgetClientSize
(self, clientId)
training/helper/clientSampler.py:130
↓ 1 callersMethodgetClientsInfo
(self)
training/helper/clientSampler.py:93
↓ 1 callersMethodgetCompletionTime
(self, clientId, batch_size, upload_epoch, model_size)
training/helper/clientSampler.py:65
↓ 1 callersMethodgetCurrentClientIds
(self, hostId)
training/helper/clientSampler.py:124
↓ 1 callersMethodgetDataInfo
(self)
training/helper/clientSampler.py:193
↓ 1 callersMethodgetDataLen
(self)
training/utils/divide_data.py:107
↓ 1 callersMethodgetDistance
(self)
training/utils/divide_data.py:517
↓ 1 callersMethodgetFeasibleClients
(self, cur_time)
training/helper/clientSampler.py:150
↓ 1 callersMethodgetNumOfLabels
(self)
training/utils/divide_data.py:104
↓ 1 callersMethodgetSampleRatio
(self, clientId, hostId, even=False)
training/helper/clientSampler.py:133
↓ 1 callersMethodgetScore
(self)
training/helper/client.py:15
↓ 1 callersMethodgetSize
(self)
training/utils/divide_data.py:520
↓ 1 callersMethodgetTargets
(self)
training/utils/divide_data.py:96
↓ 1 callersMethodgetTopK
(self, numOfSamples, cur_time, feasible_clients)
oort/oort.py:256
↓ 1 callersMethodget_blacklist
(self)
oort/oort.py:223
↓ 1 callersMethodget_client_reward
(self, armId)
oort/oort.py:388
next →1–100 of 424, ranked by callers