daquexian/onnx-simplifier

Simplify your onnx model

C++PythonCMakeShelldeep-learningpytorchonnx
This is stars and forks stats for /daquexian/onnx-simplifier repository. As of 28 Apr, 2024 this repository has 3218 stars and 354 forks.

ONNX Simplifier ONNX is great, but sometimes too complicated. Background One day I wanted to export the following simple reshape operation to ONNX: import torch class JustReshape(torch.nn.Module): def __init__(self): super(JustReshape, self).__init__() def forward(self, x): return x.view((x.shape[0], x.shape[1], x.shape[3], x.shape[2])) net = JustReshape() model_name = 'just_reshape.onnx' dummy_input = torch.randn(2, 3, 4, 5) torch.onnx.export(net, dummy_input, model_name,...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
gustavo-depaula/stalin-sortCoqAssemblyPython1.3k+41640
pagopa/opex-dashboard-azure-actionDockerfileShell0000
elixir-tools/credo-language-serverElixirShell870110
janlay/openai-cliShell1650120
jiayaoqijia/ethgptShellHTMLTypeScript72060
sighupio/fury-distributionSmartyShellGo128+1120
giantswarm/external-secretsMustacheMakefilePython0000
jianyuh/vimbackupVim ScriptPythonOther0000
LastingLimpid/scriptVim ScriptShell0000
rclc/python-projectLessPythonShell002030