Using K.is_tensor and K.is_variable (#13307)
Using K.is_tensor and K.is_variable (#13307)

is_tensor_or_variable(x) is undefined and replaced by
K.is_tensor(x) or K.is_variable(x).

Fixes #13306.
keras-team/keras,keras-team/keras