Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HarliWu/FedBiOT
/ functions
Functions
2,364 in github.com/HarliWu/FedBiOT
⨍
Functions
2,364
◇
Types & classes
365
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
← previous
next →
1,501–1,600 of 2,364, ranked by callers