-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove need for aggregator to have dataset for model weight initialization Signed-off-by: Patrick Foley <[email protected]> * Remove extra print arguments Signed-off-by: Patrick Foley <[email protected]> * Address review comments Signed-off-by: Patrick Foley <[email protected]> * Remove extraneous print statement Signed-off-by: Patrick Foley <[email protected]> --------- Signed-off-by: Patrick Foley <[email protected]>
- Loading branch information
Showing
4 changed files
with
45 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2020-2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
"""Mock objects to eliminate extraneous dependencies""" | ||
|
||
|
||
class MockDataLoader: | ||
"""Placeholder dataloader for when data is not available""" | ||
def __init__(self, feature_shape): | ||
self.feature_shape = feature_shape | ||
|
||
def get_feature_shape(self): | ||
return self.feature_shape |