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