MachineLearning
NamespaceNamespace in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Enumerations
| Enumeration | Description |
|---|---|
| DataLayout | Used with BasePlaceHolder. |
| FrameTiming | Timing options for when MLComponent should start or stop running. Used with MLComponent.runScheduled(). For more information, see the MLComponent Scripting guide. |
| InferenceMode | Inference modes used by MLComponent.inferenceMode. Each mode describes how the neural network will be run. |
| ModelState | Describes the current state of the MLComponent model. For more information, see the MLComponent Scripting guide. |
| OutputMode | Types of output used by OutputPlaceholder. |
Functions
| Function | Description |
|---|---|
| createDelayBuilder | Creates a new DelayBuilder object. |
| createDeltaBuilder | Creates a new DeltaBuilder object. |
| createInputBuilder | Creates a new InputBuilder object. |
| createMelSpectrogramBuilder | Creates a new MelSpectrogramBuilder object. |
| createMFCCBuilder | Creates a new MFCCBuilder object. |
| createNoiseReductionBuilder | - |
| createOutputBuilder | Creates a new OutputBuilder object. |
| createPitchShifterBuilder | - |
| createSamplerBuilder | Creates SamplerBuilder. |
| createSpectrogramBuilder | Creates a new SpectrogramBuilder object. |
| createTransformerBuilder | Creates a new TransformerBuilder object. |