NatSuite.ML
for access to NatML classes and interfaces.Predict
.README
should be the entrypoint for developers. Keeping in line with the considerations above, the README
should very quickly discuss how the predictor is used, with code snippets.README
, so keeping it short and sweet would increase their chances of actually reading it.Predict
with one or more features.MLAsyncPredictor
. This is critical because developers might need to run predictions asynchronously to preserve their app's frame rate. The implication of this requirement is that the predictor's Predict
method must not use any Unity API's which cannot be used from background threads.Texture2D
, RenderTexture
, ComputeShader
, Job
should not be used in your predictor's Predict
method.CustomFeature
class which derives from MLFeature
and implements IMLEdgeFeature
or IMLHubFeature
.Texture2D.ReadPixels
, ComputeBuffer.GetData
) or Disk IO will be immediately rejected.