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,...
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,...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
gustavo-depaula/stalin-sort | CoqAssemblyPython | 1.3k | +4 | 164 | 0 |
pagopa/opex-dashboard-azure-action | DockerfileShell | 0 | 0 | 0 | 0 |
elixir-tools/credo-language-server | ElixirShell | 87 | 0 | 11 | 0 |
janlay/openai-cli | Shell | 165 | 0 | 12 | 0 |
jiayaoqijia/ethgpt | ShellHTMLTypeScript | 72 | 0 | 6 | 0 |
sighupio/fury-distribution | SmartyShellGo | 128 | +1 | 12 | 0 |
giantswarm/external-secrets | MustacheMakefilePython | 0 | 0 | 0 | 0 |
jianyuh/vimbackup | Vim ScriptPythonOther | 0 | 0 | 0 | 0 |
LastingLimpid/script | Vim ScriptShell | 0 | 0 | 0 | 0 |
rclc/python-project | LessPythonShell | 0 | 0 | 203 | 0 |