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 D | tensor_util.h | 101 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 D | tensor_util.cpp | 156 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 D | tensor_util_test.cpp | 34 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__))); \
|