forked from securefederatedai/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove global variable `writer` and initialize `writer` directly in `write_metric` function across multiple files. * **AggregatorBasedWorkflow/101_torch_cnn_mnist/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **AggregatorBasedWorkflow/102_aggregator_validation/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **AggregatorBasedWorkflow/104_keras_mnist/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **AggregatorBasedWorkflow/301_torch_cnn_mnist_watermarking/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **AggregatorBasedWorkflow/501_pytorch_tinyimagenet_transfer_learning/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **AggregatorBasedWorkflow/vertical_fl_two_party/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **torch_cnn_mnist/src/utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **torch_cnn_mnist_eden_compression/src/mnist_utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **torch_cnn_mnist_fed_eval/src/mnist_utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **torch_cnn_mnist_straggler_check/src/mnist_utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function * **torch_llm_horovod/src/emotion_utils.py** - Remove global variable `writer` - Remove `get_writer` function - Initialize `writer` directly in `write_metric` function --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/payalcha/openfl?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
11 changed files
with
11 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters