Add a bfloat16 registration for MulNoNan
PiperOrigin-RevId: 309434179 Change-Id: Ie9f17a9ef52171eede511710cd39d053a4ddc414
This commit is contained in:
parent
f19618050b
commit
81be829592
@ -464,7 +464,7 @@ REGISTER_OP("MulNoNan")
|
|||||||
.Input("x: T")
|
.Input("x: T")
|
||||||
.Input("y: T")
|
.Input("y: T")
|
||||||
.Output("z: T")
|
.Output("z: T")
|
||||||
.Attr("T: {half, float, double, complex64, complex128}")
|
.Attr("T: {bfloat16, half, float, double, complex64, complex128}")
|
||||||
.SetShapeFn(shape_inference::BroadcastBinaryOpShapeFn);
|
.SetShapeFn(shape_inference::BroadcastBinaryOpShapeFn);
|
||||||
|
|
||||||
// Note: This op is not commutative w.r.t. to all its inputs.
|
// Note: This op is not commutative w.r.t. to all its inputs.
|
||||||
|
Loading…
Reference in New Issue
Block a user