Home
last modified time | relevance | path

Searched refs:tensor_data_is_close (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/executorch/runtime/core/exec_aten/testing_util/
H A Dtensor_util.h101 bool tensor_data_is_close(
159 return tensor_data_is_close(arg, other);
171 return tensor_data_is_close(arg, other, rtol, atol);
181 return tensor_data_is_close(arg, other, /*rtol=*/0, /*atol=*/0);
373 using ::executorch::runtime::testing::tensor_data_is_close;
H A Dtensor_util.cpp156 bool tensor_data_is_close( in tensor_data_is_close() function
/aosp_15_r20/external/executorch/runtime/core/exec_aten/testing_util/test/
H A Dtensor_util_test.cpp34 using executorch::runtime::testing::tensor_data_is_close;
91 EXPECT_TRUE(tensor_data_is_close((t1__), (t2__))); \
92 EXPECT_TRUE(tensor_data_is_close((t2__), (t1__))); \
107 EXPECT_TRUE(tensor_data_is_close((t1__), (t2__))); \
108 EXPECT_TRUE(tensor_data_is_close((t2__), (t1__))); \
123 EXPECT_FALSE(tensor_data_is_close((t1__), (t2__))); \
124 EXPECT_FALSE(tensor_data_is_close((t2__), (t1__))); \