Skip to content

[serialize] Support LeakyReLU#161

Merged
mhs4670go merged 2 commits into
Samsung:mainfrom
mhs4670go:sup
Jun 19, 2025
Merged

[serialize] Support LeakyReLU#161
mhs4670go merged 2 commits into
Samsung:mainfrom
mhs4670go:sup

Conversation

@mhs4670go

Copy link
Copy Markdown
Contributor

This commit supports LeakyReLU.

TICO-DCO-1.0-Signed-off-by: seongwoo mhs4670go@naver.com

This commit supports LeakyReLU.

TICO-DCO-1.0-Signed-off-by: seongwoo <mhs4670go@naver.com>
@mhs4670go mhs4670go requested a review from a team June 19, 2025 02:31
Comment thread tico/utils/validate_args_kwargs.py Outdated
"""

input: torch.fx.Node
negative_slope: float

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
negative_slope: float
negative_slope: float = 0.01



@register_node_visitor
class ReluVisitor(NodeVisitor):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class ReluVisitor(NodeVisitor):
class LeakyReluVisitor(NodeVisitor):

@mhs4670go mhs4670go requested review from dayo09 and seockho-kim June 19, 2025 05:21

@dayo09 dayo09 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seockho-kim seockho-kim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhs4670go mhs4670go merged commit 8f727ae into Samsung:main Jun 19, 2025
5 checks passed
@mhs4670go mhs4670go deleted the sup branch June 20, 2025 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants