Skip to content

Added test data for Mish ONNX subgraph#835

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
l-bat:lb/onnx_mish_subgraph
Jan 16, 2021
Merged

Added test data for Mish ONNX subgraph#835
opencv-pushbot merged 1 commit intoopencv:3.4from
l-bat:lb/onnx_mish_subgraph

Conversation

@l-bat
Copy link
Copy Markdown
Contributor

@l-bat l-bat commented Jan 15, 2021

No description provided.

@l-bat l-bat changed the base branch from master to 3.4 January 15, 2021 11:01
def forward(self, x):
return x * (torch.tanh(F.softplus(x)))

x = Variable(torch.zeros([1, 2, 2, 2]))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

.zeros

Could we use non-zero input here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@l-bat l-bat force-pushed the lb/onnx_mish_subgraph branch from fbd8107 to c9b1ece Compare January 16, 2021 06:01
@opencv-pushbot opencv-pushbot merged commit 8a7fc93 into opencv:3.4 Jan 16, 2021
@alalek alalek mentioned this pull request Jan 16, 2021
@alalek alalek mentioned this pull request Apr 9, 2021
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