I was doing some research about this error and found out this occurs on tensorflow 2.10. tensorflow-directml-plugin needs support for new tensorflow >= 2.13