-
Notifications
You must be signed in to change notification settings - Fork 1
fixed custom block ui #52
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
Changes from all commits
24eb234
5fc8c83
e341440
30009a4
d834f29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,11 +10,11 @@ class BatchNorm2DNode(NodeDefinition): | |
| @property | ||
| def metadata(self) -> NodeMetadata: | ||
| return NodeMetadata( | ||
| type="batchnorm2d", | ||
| label="BatchNorm2D", | ||
| type="batchnorm", | ||
| label="Batch Normalization", | ||
|
Comment on lines
+13
to
+14
|
||
| category="basic", | ||
| color="var(--color-orange)", | ||
| icon="Zap", | ||
| color="var(--color-accent)", | ||
| icon="ChartLineUp", | ||
| description="Batch normalization layer", | ||
| framework=Framework.TENSORFLOW | ||
| ) | ||
|
|
||
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.
The node type is being changed from "batchnorm2d" to "batchnorm", but the validation logic in validation.py line 327 still includes both "batchnorm" and "batchnorm2d" in the required input check. Since the type is now "batchnorm", the reference to "batchnorm2d" in that list should be removed to avoid confusion. While this change doesn't break functionality (since "batchnorm" is already in the list), it creates technical debt by keeping a reference to a type that no longer exists.