microsoft / Windows-Machine-Learning

Samples and Tools for Windows ML.
https://docs.microsoft.com/en-us/windows/ai/
MIT License
1.02k stars 445 forks source link

Set Model Names in Samples for Telemetry #491

Closed nums11 closed 2 years ago

nums11 commented 2 years ago

This PR updates the Samples Gallery to use the SetName experimental API to set model names inside samples. The updated model name contains the name of the sample in which the model was used (e.g. "SqueezeNet_ImageClassifier") so that when telemetry is sent during session creation, the usage of specific samples will be tracked.