Sign in
opensecura
/
3p
/
openxla
/
iree
/
957ae60dc0ce5d9252b72f25a2229d84169acfbc
/
.
/
tests
/
e2e
/
tosa_ops
/
const.mlir
blob: ad994ddf7b7bed02c128dccb4884f6d825c4493d [
file
] [
log
] [
blame
]
func
.
func
@tensor_float
()
{
%
result
=
"tosa.const"
()
{
value
=
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
}