Function openvino.core.custom_gradient()
should be a class
#20953
Labels
openvino.core.custom_gradient()
should be a class
#20953
I'm not using this, but I saw by accident while browsing the code that
keras.backend.openvino.core.custom_gradient()
is a function that defines nested functions__init__()
and__call__()
, but doesn't do anything (in particular, it seems to returnNone
):keras/keras/src/backend/openvino/core.py
Lines 598 to 617 in c03ae35
I think line 598 should be
Introduced by 5c401a9 in #19727. It was a function throwing a
NotImplementedError
before, but should have been changed to a class.The text was updated successfully, but these errors were encountered: