MCPcopy Create free account

hub / github.com/HarliWu/FedBiOT / functions

Functions2,364 in github.com/HarliWu/FedBiOT

Method_hook_on_batch_end
(self, ctx)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:584
Function_hook_on_batch_end_flop_count
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:196
Function_hook_on_batch_end_flop_count
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:158
Method_hook_on_batch_end_gather_loss
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:137
Method_hook_on_batch_forward
(self, ctx)
federatedscope/llm/offsite_tuning/kd_trainer.py:99
Method_hook_on_batch_forward
(self, ctx)
federatedscope/llm/trainer/bilevel_OT_trainer.py:229
Method_hook_on_batch_forward
(self, ctx)
federatedscope/llm/trainer/bilevel_OT_trainer.py:334
Method_hook_on_batch_forward
(self, ctx)
federatedscope/llm/trainer/trainer.py:189
Method_hook_on_batch_forward
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/tf_trainer.py:128
Method_hook_on_batch_forward
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:288
Method_hook_on_batch_forward
(self, ctx)
federatedscope/cl/trainer/trainer.py:37
Method_hook_on_batch_forward
(self, ctx)
federatedscope/mf/trainer/trainer.py:54
Method_hook_on_batch_forward
(self, ctx)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:336
Method_hook_on_batch_forward
(self, ctx)
federatedscope/nlp/trainer/trainer.py:10
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/fedsageplus/trainer.py:23
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/fedsageplus/trainer.py:47
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/trainer/linktrainer.py:73
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/trainer/linktrainer.py:171
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/trainer/graphtrainer.py:13
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/trainer/nodetrainer.py:31
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/trainer/nodetrainer.py:137
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/flitplus/trainer.py:41
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/flitplus/trainer.py:80
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/flitplus/trainer.py:153
Method_hook_on_batch_forward
(self, ctx)
federatedscope/gfl/flitplus/trainer.py:206
Function_hook_on_batch_forward_cnt_num
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:211
Method_hook_on_batch_forward_flop_count
The monitoring hook to calculate the flops during the fl course Note: For customized cases that the forward process is not
federatedscope/llm/trainer/trainer.py:294
Method_hook_on_batch_forward_flop_count
The monitoring hook to calculate the flops during the fl course Note: For customized cases that the forward process is not
federatedscope/core/trainers/torch_trainer.py:311
Method_hook_on_batch_forward_flop_count
(self, ctx)
federatedscope/mf/trainer/trainer.py:67
Method_hook_on_batch_forward_flop_count
(self, ctx)
federatedscope/gfl/trainer/linktrainer.py:91
Method_hook_on_batch_forward_flop_count
(self, ctx)
federatedscope/gfl/trainer/graphtrainer.py:29
Method_hook_on_batch_forward_flop_count
(self, ctx)
federatedscope/gfl/trainer/nodetrainer.py:42
Method_hook_on_batch_forward_regularizer
(self, ctx)
federatedscope/core/trainers/tf_trainer.py:164
Method_hook_on_batch_forward_regularizer
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:365
Method_hook_on_batch_forward_regularizer
(self, ctx)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:519
Method_hook_on_batch_forward_weighted_loss
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:123
Method_hook_on_batch_start_init
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/tf_trainer.py:112
Method_hook_on_batch_start_init
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:270
Function_hook_on_batch_start_init_pfedme
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:130
Function_hook_on_batch_start_switch_model
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:225
Method_hook_on_batch_start_track_batch_idx
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:109
Method_hook_on_data_parallel_init
Note: The modified attributes and according operations are shown below, further modifications should be made to `ctx.mod
federatedscope/core/trainers/torch_trainer.py:168
Function_hook_on_epoch_end_flop_count
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:173
Function_hook_on_epoch_end_update_local
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:187
Method_hook_on_epoch_start
(self, ctx)
federatedscope/llm/trainer/trainer.py:177
Method_hook_on_epoch_start
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/tf_trainer.py:98
Method_hook_on_epoch_start
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:247
Method_hook_on_epoch_start
(self, ctx)
federatedscope/gfl/trainer/nodetrainer.py:124
Method_hook_on_epoch_start_data2device
(self, ctx)
federatedscope/gfl/trainer/linktrainer.py:62
Method_hook_on_fit_end
(self, ctx)
federatedscope/llm/trainer/trainer.py:274
Method_hook_on_fit_end
Evaluate metrics. Note: The modified attributes and according operations are shown below: ====================
federatedscope/core/trainers/tf_trainer.py:194
Method_hook_on_fit_end
Evaluate metrics. Note: The modified attributes and according operations are shown below: ====================
federatedscope/core/trainers/torch_trainer.py:426
Method_hook_on_fit_end
(self, ctx)
federatedscope/mf/trainer/trainer.py:47
Method_hook_on_fit_end
(self, ctx)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:604
Function_hook_on_fit_end_calibrate
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:175
Method_hook_on_fit_end_ensemble_eval
Ensemble evaluation Note: The modified attributes and according operations are shown below: ==================
federatedscope/core/trainers/trainer_FedEM.py:209
Method_hook_on_fit_end_flop_count
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:196
Function_hook_on_fit_end_free_cuda
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:306
Function_hook_on_fit_end_switch_global_model
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:293
Function_hook_on_fit_end_update_local
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:214
Method_hook_on_fit_start_calculate_model_size
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:227
Function_hook_on_fit_start_clean
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:159
Method_hook_on_fit_start_flop_count
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:183
Method_hook_on_fit_start_init
(self, ctx)
federatedscope/llm/trainer/trainer.py:112
Method_hook_on_fit_start_init
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/tf_trainer.py:73
Method_hook_on_fit_start_init
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/torch_trainer.py:188
Method_hook_on_fit_start_init
(self, ctx)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:295
Method_hook_on_fit_start_mixture_weights_update
Note: The modified attributes and according operations are shown below: ================================== ===========
federatedscope/core/trainers/trainer_FedEM.py:153
Method_hook_on_fit_start_numerical_precision
(self, ctx)
federatedscope/llm/offsite_tuning/kd_trainer.py:87
Method_hook_on_fit_start_numerical_precision
(self, ctx)
federatedscope/core/trainers/torch_trainer.py:163
Function_hook_on_fit_start_set_local_para_tmp
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_pFedMe.py:101
Function_hook_on_fit_start_set_regularized_para
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:121
Function_hook_on_fit_start_switch_local_model
Note: The modified attributes and according operations are shown below: ================================== =======================
federatedscope/core/trainers/trainer_Ditto.py:278
Function_hook_record_initialization
Record the initialized weights within local updates Note: The modified attributes and according operations are shown below: ==
federatedscope/core/trainers/trainer_nbafl.py:81
Method_in_contrast_prepare
(self)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:207
Method_indent
(s_, num_spaces)
federatedscope/core/configs/yacs_config.py:205
Method_init_for_train
(self)
federatedscope/vertical_fl/tree_based_models/trainer/random_forest_trainer.py:14
Function_objective_wrap
(x, iidata, ddata, cdata, n, iisize, idsize, icsize)
federatedscope/autotune/fts/utils.py:76
Function_one_hot
returns one-hot vector with given size and value 1 at given index
federatedscope/nlp/dataset/utils.py:19
Method_perform_federated_aggregation
(self)
federatedscope/nlp/hetero_tasks/worker/server.py:64
Method_protect_via_dp
Bucketize and add dp noise to feature order for protection. For more details, please refer to Fed
federatedscope/vertical_fl/tree_based_models/trainer/feature_order_protected_trainer.py:182
Method_protect_via_op_boost
Add random noises to feature order for privacy protection. For more details, please see OpBoost: A Ve
federatedscope/vertical_fl/tree_based_models/trainer/feature_order_protected_trainer.py:118
Method_read_raw
(self)
federatedscope/mf/dataset/netflix.py:51
Method_register_default_handlers
(self)
federatedscope/contrib/worker/example.py:7
Method_register_default_handlers
(self)
federatedscope/contrib/worker/example.py:19
Method_register_default_handlers
(self)
federatedscope/llm/offsite_tuning/client.py:49
Method_register_default_handlers
Register default handler dic to handle message, which includes \ sender, receiver, state, and content. More detail can be found in \
federatedscope/core/workers/base_server.py:23
Method_register_default_handlers
(self)
federatedscope/cl/fedgc/client.py:19
Method_register_default_handlers
(self)
federatedscope/cl/fedgc/server.py:44
Method_register_default_handlers
(self)
federatedscope/gfl/fedsageplus/worker.py:56
Method_run_batch
(self, hooks_set)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:266
Method_run_routine
Run the hooks_set and maintain the mode for multiple internal models Arguments: mode: running mode of client, chosen from train/v
federatedscope/core/trainers/trainer_multi_model.py:211
Method_sample_from_others
(self, client, y_max, iteration, info_ts)
federatedscope/autotune/fts/server.py:287
Method_sample_from_this
(self, client, y_max, iteration, info_ts)
federatedscope/autotune/fts/server.py:235
Method_set_up
To set up server and client for standalone mode.
federatedscope/core/fed_runner.py:293
Method_set_up
To set up server or client for distributed mode.
federatedscope/core/fed_runner.py:513
Method_set_up
(self)
federatedscope/core/parallel/parallel_runner.py:100
Method_setup
(self)
federatedscope/autotune/algos.py:114
Method_setup
(self)
federatedscope/autotune/algos.py:217
Method_setup
(self)
federatedscope/autotune/algos.py:287
← previousnext →1,501–1,600 of 2,364, ranked by callers