IMLOperatorRegistry.RegisterOperatorKernel method
Registers a custom operator kernel. A shape inferrer may optionally be provided. This may improve performance and enables the kernel to query the shape of its output tensors when it is created and computed.
void RegisterOperatorKernel(
const MLOperatorKernelDescription* operatorKernel,
IMLOperatorKernelFactory* operatorKernelFactory,
_In_opt_ IMLOperatorShapeInferrer* shapeInferrer)
Requirements
Requirement | |
---|---|
Minimum supported client | Windows 10, build 17763 |
Minimum supported server | Windows Server 2019 with Desktop Experience |
Header | MLOperatorAuthor.h |
Note
Use the following resources for help with Windows ML:
- To ask or answer technical questions about Windows ML, please use the windows-machine-learning tag on Stack Overflow.
- To report a bug, please file an issue on our GitHub.
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla