-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed typo error and added examples for tensorflow and mindspore. #288
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
s3_transmitter = FederatedLearningV2.get_transmitter_from_config() | ||
|
||
class SddDataset(Dataset): | ||
def __init__(self, x, y) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicit return in init is not required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -121,7 +121,7 @@ def __init__(self, cut_layer, epsilon=100): | |||
|
|||
if isinstance(self.parameters["epsilon"], str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more simple use if isinstance(self.parameters["epsilon"], str) and self.parameters["epsilon"].isdigit():
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cannot be done because writing them in one line will exceed the chars limitation of one python code when running the style check.
Signed-off-by: xinyao1994 <[email protected]>
Signed-off-by: xinyao1994 <[email protected]>
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #284