"tests/vscode:/vscode.git/clone" did not exist on "a9c83bce15246c3e71e372e8128c7e345c136f36"
Convert numpy arrays to floats using float constructor, not .item().
I plan on changing Keras to return Python floats instead of Numpy scalars, and this will break if .item() is called. Also, using the float constructor is cleaner, as it clearly communicates that a Python float is desired. PiperOrigin-RevId: 297192289
Showing
Please register or sign in to comment