ImageNet..::..Predict Method (array<Byte>[]()[][], Int32)
Predicts the specified image bytes.
Namespace:
SiaNet.ApplicationAssembly: SiaNet (in SiaNet.dll)
Syntax
public List<PredResult> Predict( byte[] imageBytes, int topK )
Public Function Predict ( _ imageBytes As Byte(), _ topK As Integer _ ) As List(Of PredResult)
public: List<PredResult^>^ Predict( array<unsigned char^>^ imageBytes, int^ topK )
Parameters
- imageBytes
- Type: array<Byte>[]()[][]
The image in byte arrary.
- topK
- Type: Int32
The top k accurate result to return.