Searched refs:MemoryChecker (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/python/framework/ |
D | memory_checker_test.py | 23 from tensorflow.python.framework.memory_checker import MemoryChecker 30 with MemoryChecker() as memory_checker: 40 with MemoryChecker() as memory_checker: 52 with MemoryChecker() as memory_checker: 63 with MemoryChecker() as memory_checker: 74 with MemoryChecker() as memory_checker: 88 with MemoryChecker() as memory_checker: 101 with MemoryChecker() as memory_checker: 114 with MemoryChecker() as memory_checker: 125 with MemoryChecker() as memory_checker: [all …]
|
D | memory_checker.py | 47 class MemoryChecker(object): class
|
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/ |
D | remove.pass.cpp | 152 test<MemoryChecker>(MemoryChecker{0}, MemoryChecker{1}, in main() 153 [](const MemoryChecker& val){ return val.value() == 1; }, in main() 154 [](std::size_t idx){ return MemoryChecker{std::int32_t(idx % 3 == 0)}; } in main() 156 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from remove,remove_if: number of ct… in main() 157 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from remove,remove_if: number of ct… in main()
|
D | unique.pass.cpp | 155 test<MemoryChecker>( in main() 156 [](std::size_t idx){ return MemoryChecker{std::int32_t(idx / 3)}; }, in main() 157 … [](const MemoryChecker& val1, const MemoryChecker& val2){ return val1.value() == val2.value(); }); in main() 158 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from unique: number of ctors calls … in main() 159 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from unique: number of ctors calls … in main()
|
D | rotate.pass.cpp | 170 test<MemoryChecker>(); in main() 171 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from rotate: number of ctors calls … in main() 172 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from rotate: number of ctors calls … in main()
|
/external/llvm-project/pstl/test/std/algorithms/alg.merge/ |
D | inplace_merge.pass.cpp | 150 test_by_type<MemoryChecker>( in main() 151 [](std::size_t idx){ return MemoryChecker{std::int32_t(idx * 2)}; }, in main() 152 [](std::size_t idx){ return MemoryChecker{std::int32_t(idx * 2 + 1)}; }, in main() 153 … [](const MemoryChecker& val1, const MemoryChecker& val2){ return val1.value() == val2.value(); }); in main() 154 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from inplace_merge: number of ctors… in main() 155 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from inplace_merge: number of ctors… in main()
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | memory_checker_test.py | 23 from tensorflow.python.framework.memory_checker import MemoryChecker 40 with MemoryChecker() as memory_checker: 57 with MemoryChecker() as memory_checker:
|
/external/llvm-project/pstl/test/std/algorithms/alg.sorting/ |
D | partial_sort_copy.pass.cpp | 189 test_partial_sort_copy<MemoryChecker>( in main() 190 … [](const MemoryChecker& val1, const MemoryChecker& val2){ return val1.value() < val2.value(); }); in main() 191 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from partial_sort_copy: number of c… in main() 192 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from partial_sort_copy: number of c… in main()
|
/external/llvm-project/pstl/test/std/algorithms/alg.sorting/alg.set.operations/ |
D | set.pass.cpp | 263 …test_set<MemoryChecker, MemoryChecker>([](const MemoryChecker& val1, const MemoryChecker& val2) ->… in main() 266 …EXPECT_FALSE(MemoryChecker::alive_objects() < 0, "wrong effect from set algorithms: number of ctor… in main() 267 …EXPECT_FALSE(MemoryChecker::alive_objects() > 0, "wrong effect from set algorithms: number of ctor… in main()
|
/external/llvm-project/pstl/test/support/ |
D | utils.h | 234 struct MemoryChecker { struct 244 explicit MemoryChecker(std::int32_t value = 0) : _value(value) { in _value() argument 252 MemoryChecker(MemoryChecker&& other) : _value(other.value()) { in MemoryChecker() argument 260 MemoryChecker(const MemoryChecker& other) : _value(other.value()) { in MemoryChecker() argument 268 MemoryChecker& operator=(MemoryChecker&& other) { 277 MemoryChecker& operator=(const MemoryChecker& other) { 286 ~MemoryChecker() { in ~MemoryChecker() argument 304 std::atomic<std::int64_t> MemoryChecker::alive_object_counter{0}; argument 306 std::ostream& operator<<(std::ostream& os, const MemoryChecker& val) { return (os << val.value()); } 307 bool operator==(const MemoryChecker& v1, const MemoryChecker& v2) { return v1.value() == v2.value()… [all …]
|
/external/tensorflow/tensorflow/python/eager/ |
D | backprop_test.py | 39 from tensorflow.python.framework.memory_checker import MemoryChecker 1667 with MemoryChecker() as memory_checker:
|