-
Notifications
You must be signed in to change notification settings - Fork 28
Lite API: Machine Learning
Hayun Lee edited this page Dec 21, 2020
·
4 revisions
Parent Document: ANT APIs
Machine Learning API comprises of basic ML element functions and task-specific ML element functions.
var mlAPI = require('ant').ml;
- Object createMLElement(String modelPath, Array inputShapes, String inputTypes, String inputNames, Array outputShapes, String outputTypes, String outputNames, String taskName)
- Object createImgClsImagenetElement(String modelPath)
- Object createObjDetCocoElement(string modelPath, Number resolution, Number maxBoundingBoxes)
- Object createMLFragmentElement(String modelPath, Array inputShapes, String inputTypes, String inputNames, String taskName, Number numFragments, String targetUri)
- Array toFloatArray(Array buffer)
- Object getMaxOfBuffer(Array Buffer, String type)
- String downloadModel(String modelUrl, String overwriteIfExists)
- Home
- About
- Getting Started
-
ANT APIs
- ANT Classic API
- ANT Lite API
- Getting Involved