We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before submitting your request, please review past submissions to ensure that it is not a duplicate of a known feature request.
Add mypy type hints to code (for example
tensorflow-onnx/tf2onnx/convert.py
Line 412 in baf5ad0
def from_keras(model, input_signature=None, opset=None, custom_ops=None, custom_op_handlers=None, custom_rewriter=None, inputs_as_nchw=None, outputs_as_nchw=None, extra_opset=None, shape_override=None, target=None, large_model=False, output_path=None, optimizers=None):
Type hints would reduce possible sources of error here.
For example, the following is possible in the CLI:
python -m tf2onnx.convert --opset 10 --outputs-as-nchw output --inputs-as-nchw input --saved-model .\saved_models\,
python -m tf2onnx.convert --opset 10 --outputs-as-nchw output --inputs-as-nchw input --saved-model .\saved_models\
but not in the code, as a list is expected.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Before submitting your request, please review past submissions to ensure that it is not a duplicate of a known feature request.
Describe the feature request
Add mypy type hints to code (for example
tensorflow-onnx/tf2onnx/convert.py
Line 412 in baf5ad0
def from_keras(model, input_signature=None, opset=None, custom_ops=None, custom_op_handlers=None,
custom_rewriter=None, inputs_as_nchw=None, outputs_as_nchw=None, extra_opset=None, shape_override=None,
target=None, large_model=False, output_path=None, optimizers=None):
Type hints would reduce possible sources of error here.
For example, the following is possible in the CLI:
python -m tf2onnx.convert --opset 10 --outputs-as-nchw output --inputs-as-nchw input --saved-model .\saved_models\
,but not in the code, as a list is expected.
The text was updated successfully, but these errors were encountered: