You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Problem RDG operator registry only goes by operator name. Domain and version info are missing. Domain and version info is not propagated when loading from ONNX into NNE format. Solution Propagate info on domain and version from ONNX into NNERuntimeFormat. Each operator descriptor will contain the exact "sinceVersion" taken from ONNX's OpSchema, given the global opset version, as well as the "Onnx" domain. Refactor operator registry: * Operators can be registered either as versioned or unversioned (FOperatorDesc::Version unset). * The same operator (op and domain name pair) can be registered for different versions, but there can only be * one unversioned registration (and no versioned registration in such case). * * When finding a registration via OpFind() and OpFindValidation() * - in case there's an unversioned registration of an operator: * any input OpDesc with the same (OpName, DomainName) pair will match the registration, * - in case there are versioned registrations of an operator: * the registration that matches exactly the input OpDesc (OpName, DomainName, Version) will be picked. Note: all RDG operators are now registered as unversioned. In a next CL the correct versions should be used for registration. Tests - NNEIncubator Editor Win64 - NNEIncubator Standalone Win64 - Compile non-unity #jira UE-197436 #rb florent.guinier #rnx [CL 29742319 by giacomo serafini in ue5-main branch]