Compare commits

...

1 Commits

Author SHA1 Message Date
911b839104 Enable numpy behaviour across the TF codebase 2022-09-29 14:45:13 +01:00

View File

@ -84,6 +84,8 @@ TFModelInputType = Union[
KerasTensor,
]
tf.experimental.numpy.experimental_enable_numpy_behavior(prefer_float32=True)
def dummy_loss(y_true, y_pred):
return tf.reduce_mean(y_pred)