Sign in
opensecura
/
3p
/
openxla
/
iree
/
b60b87ca48290afe1cbc3c51b35a4e81fa652f80
/
.
/
tests
/
e2e
/
tosa_ops
/
const.mlir
blob: f56dc815a2b7aea100847ca7ab8472e1b11b4fc4 [
file
]
func
.
func
@tensor_float
()
{
%
result
=
"tosa.const"
()
{
values
=
dense
<[-
1.0
,
-
0.5
,
0.0
,
1.0
]>
:
tensor
<
4xf32
>}
:
()
->
tensor
<
4xf32
>
check
.
expect_almost_eq_const
(%
result
,
dense
<[-
1.0
,
-
0.5
,
0.0
,
1.0
]>
:
tensor
<
4xf32
>)
:
tensor
<
4xf32
>
return
}