Sign in
opensecura
/
3p
/
openxla
/
iree
/
372bccc3c6460cde9269992861a66018a7a47af0
/
.
/
tests
/
e2e
/
xla_ops
/
multiply.mlir
blob: bb31176456a55a903fdff2fd513326995946aab1 [
file
] [
log
] [
blame
]
func
.
func
@multiply
()
{
%
c2
=
util
.
unfoldable_constant dense
<
2.0
>
:
tensor
<f32>
%
res
=
"mhlo.multiply"
(%
c2
,
%
c2
)
:
(
tensor
<f32>
,
tensor
<f32>
)
->
tensor
<f32>
check
.
expect_almost_eq_const
(%
res
,
dense
<
4.0
>
:
tensor
<f32>
)
:
tensor
<f32>
return
}