Fix tensor data type in optimizer (SGD, Adam)
Context
It is not possible to use an Optimizer (SGD, Adam) for a data type different from float32.
Detailed major modifications
Use the setDataType method for all tensors involved in Optimizer.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent