Add a bfloat16 registration for MulNoNan

PiperOrigin-RevId: 309434179
Change-Id: Ie9f17a9ef52171eede511710cd39d053a4ddc414
This commit is contained in:
Allen Lavoie 2020-05-01 10:47:05 -07:00 committed by TensorFlower Gardener
parent f19618050b
commit 81be829592

View File

@ -464,7 +464,7 @@ REGISTER_OP("MulNoNan")
.Input("x: T")
.Input("y: T")
.Output("z: T")
.Attr("T: {half, float, double, complex64, complex128}")
.Attr("T: {bfloat16, half, float, double, complex64, complex128}")
.SetShapeFn(shape_inference::BroadcastBinaryOpShapeFn);
// Note: This op is not commutative w.r.t. to all its inputs.