Skip to content
New issue

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

Does Crytpen support multiple outputs neural network? #504

Open
CHAOSV177 opened this issue Apr 18, 2024 · 0 comments
Open

Does Crytpen support multiple outputs neural network? #504

CHAOSV177 opened this issue Apr 18, 2024 · 0 comments

Comments

@CHAOSV177
Copy link

in crypten/nn/onnx_converter.py there is:
def _to_crypten(onnx_model): """ Function that converts an onnx_model` to a CrypTen model.
"""

# create graph:
input_names, output_names = _get_input_output_names(onnx_model)
assert len(output_names) == 1, "Only one output per model supported."
crypten_model = module.Graph(input_names, output_names[0])`

it means only one output supported.
so it is not useful for many multiple outputs neural network.
I want to know how to change it so that Crypten can support multiple outputs neural network.

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

No branches or pull requests

1 participant