Skip to content

Duplication of c# Example for ApplyOnnxModel method 1 and 2 #5894

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

Open
GeorgeS2019 opened this issue Jul 30, 2021 · 0 comments
Open

Duplication of c# Example for ApplyOnnxModel method 1 and 2 #5894

GeorgeS2019 opened this issue Jul 30, 2021 · 0 comments
Labels
documentation Related to documentation of ML.NET onnx Exporting ONNX models or loading ONNX models P3 Doc bugs, questions, minor issues, etc.

Comments

@GeorgeS2019
Copy link

Both the Method 1 and 2 are different BUT have exactly the same examples ( which is wrong)

Method 1

public static Microsoft.ML.Transforms.Onnx.OnnxScoringEstimator ApplyOnnxModel (this Microsoft.ML.TransformsCatalog catalog, string modelFile, int? gpuDeviceId = default, bool fallbackToCpu = false);

Method 2

public static Microsoft.ML.Transforms.Onnx.OnnxScoringEstimator ApplyOnnxModel (this Microsoft.ML.TransformsCatalog catalog, string modelFile, System.Collections.Generic.IDictionary<string,int[]> shapeDictionary, int? gpuDeviceId = default, bool fallbackToCpu = false);

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@michaelgsharp michaelgsharp added documentation Related to documentation of ML.NET onnx Exporting ONNX models or loading ONNX models P3 Doc bugs, questions, minor issues, etc. labels Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation of ML.NET onnx Exporting ONNX models or loading ONNX models P3 Doc bugs, questions, minor issues, etc.
Projects
None yet
Development

No branches or pull requests

2 participants