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

.NET Support status #169

Closed
GeorgeS2019 opened this issue Oct 9, 2021 · 1 comment
Closed

.NET Support status #169

GeorgeS2019 opened this issue Oct 9, 2021 · 1 comment

Comments

@GeorgeS2019
Copy link

GeorgeS2019 commented Oct 9, 2021

Create this issue to track the use of this repository for .NET

Build ortcustomops.dll

Microsoft.ML.OnnxRuntime.InferenceSession with custom SentencepieceTokenizer operation

var sessionOptions = new Microsoft.ML.OnnxRuntime.SessionOptions();
sessionOptions.RegisterCustomOpLibraryV2("ortcustomops.dll", out var libraryHandle);

var session = new Microsoft.ML.OnnxRuntime.InferenceSession(
    "universal-sentence-encoder-multilingual-3.onnx",
    sessionOptions
);

=> How to use this repo to build ortcustomops.dll for RegisterCustomOpLibraryV2

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