blob: 6d0f1df69d5ffe1410334b11081278e007871bed [file] [log] [blame]
func.func @tensor_float() {
%0 = util.unfoldable_constant dense<[16.0, 4.0, 9.0, 1.0]> : tensor<4xf32>
%result = tosa.rsqrt %0 : (tensor<4xf32>) -> tensor<4xf32>
check.expect_almost_eq_const(%result, dense<[0.25, 0.5, 0.3333, 1.0]> : tensor<4xf32>) : tensor<4xf32>
return
}