| actors |
|
|
| backends |
|
|
| components.conf |
|
260 |
| content |
|
|
| docs |
|
|
| jar.mn |
|
2816 |
| metrics.yaml |
|
15383 |
| ml.d.ts |
|
2092 |
| MLTelemetry.sys.mjs |
MLTelemetry provides a mechanism tracking a "flow" of operations
related to a machine learning feature. A flow is a sequence of related
events that represent a single, complete user-level operation, for example
generating a summary for a page.
This class uses a correlation ID pattern where flowId is passed to each
method, allowing flexible tracking across different parts of the system.
@example
new MLTelemetry({ featureId: "ml-suggest-intent" }).sessionStart({ interaction: "button_click" });
@example
new MLTelemetry({ featureId: "ml-suggest-intent", flowId: "1234-5678" }).sessionStart({ interaction: "keyboard_shortcut"});
|
10201 |
| MLUtils.cpp |
|
2791 |
| MLUtils.h |
|
637 |
| moz.build |
|
1020 |
| nsIMLUtils.idl |
Computes the optimal concurrency level for ML workloads on the CPU.
See the implementation for details.
Returns:
- An integer representing the recommended concurrency level.
|
876 |
| tests |
|
|
| tools |
|
|
| vendor |
|
|