Skip to content
#

pytorch

Here are 11,193 public repositories matching this topic...

transformers
pranavsharma
pranavsharma commented Feb 27, 2020

Several parts of the op sec like the main op description, attributes, input and output descriptions become part of the binary that consumes ONNX e.g. onnxruntime causing an increase in its size due to strings that take no part in the execution of the model or its verification.

Setting __ONNX_NO_DOC_STRINGS doesn't really help here since (1) it's not used in the SetDoc(string) overload (s

nni
gmuraru
gmuraru commented Apr 30, 2020

Split the code from create_sandbox into two separate functions and remove the noqa: C901.

Describe alternatives you've considered
Simplify the function such that no split is required.

Additional context
Code quality:

2020-04-29T13:13:32.5968940Z ./syft/sandbox.py:12:1: C901 'create_sandbox' is too complex (26)
2020-04-29T13:13:32.5969257Z def create_sandbox(gbs, 

Improve this page

Add a description, image, and links to the pytorch topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pytorch topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.