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
i want to use for this input := http.NewInferInput("input_0", "FP16", []int64{1, 4, 3, 384, 128}, nil)
input := http.NewInferInput("input_0", "FP16", []int64{1, 4, 3, 384, 128}, nil)
The text was updated successfully, but these errors were encountered:
FP16 input data support is now available with v0.1.0, here's how you can use it;
input := http.NewInferInput("input_0", "FP16", []int64{1, 4, 3, 384, 128}, nil) err := input.SetData([]float32{1,2,3}, true) if err != nil { //error handling }
Since Go does not natively support float16, we use float32 when working with the FP16 data type.
Sorry, something went wrong.
berkayersoyy
No branches or pull requests
i want to use for this
input := http.NewInferInput("input_0", "FP16", []int64{1, 4, 3, 384, 128}, nil)
The text was updated successfully, but these errors were encountered: