Commit 8a022d3d authored by Francois Chollet's avatar Francois Chollet Committed by TensorFlower Gardener
Browse files

Allow `Layer.add_loss` to receive non-tensor; fixes error triggered when using...

Allow `Layer.add_loss` to receive non-tensor; fixes error triggered when using a weight regularizer of factor 0.

PiperOrigin-RevId: 195175909
parent c7a5787f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment