Method Inference
Inference(DenseTensor<float>, Size)
Performs inference on a given image tensor and returns raw outputs as named ONNX values.
Declaration
IReadOnlyCollection<NamedOnnxValue> Inference(DenseTensor<float> imageTensor, Size imageSize)
Parameters
| Type | Name | Description |
|---|---|---|
| DenseTensor<float> | imageTensor | The image tensor for inference. |
| Size | imageSize | The size of the image being processed. |
Returns
| Type | Description |
|---|---|
| IReadOnlyCollection<NamedOnnxValue> | A collection of named ONNX values representing the raw outputs of the model. |