Searched refs:xnn_weights_cache (Results 1 – 10 of 10) sorted by relevance
/external/XNNPACK/src/xnnpack/ |
D | cache.h | 84 struct xnn_weights_cache { struct 94 enum xnn_status xnn_init_weights_cache(struct xnn_weights_cache* cache); argument 95 enum xnn_status xnn_init_weights_cache_with_size(struct xnn_weights_cache* cache, size_t size); 98 struct xnn_weights_cache* cache, 100 enum xnn_status xnn_release_weights_cache(struct xnn_weights_cache* cache); 103 void* xnn_reserve_space_in_weights_cache(struct xnn_weights_cache* cache, size_t n); 106 size_t xnn_get_or_insert_weights_cache(struct xnn_weights_cache* cache, void* ptr, size_t size); 107 bool xnn_weights_cache_is_finalized(struct xnn_weights_cache* cache); 111 struct xnn_weights_cache *weights_cache;
|
D | operator.h | 303 struct xnn_weights_cache* weights_cache;
|
/external/XNNPACK/test/ |
D | weights-cache.cc | 20 static void* cache_end(const xnn_weights_cache* cache) { in cache_end() 24 static void write_weights(xnn_weights_cache* cache, const std::string& str) { in write_weights() 32 struct xnn_weights_cache cache; in TEST() 41 struct xnn_weights_cache cache; in TEST() 56 struct xnn_weights_cache cache; in TEST() 87 xnn_weights_cache cache; in TEST() 233 struct xnn_weights_cache cache; in TEST() 263 struct xnn_weights_cache cache; in TEST() 294 struct xnn_weights_cache cache; in TEST() 312 struct xnn_weights_cache cache; in TEST() [all …]
|
D | prelu-operator-tester.h | 151 xnn_weights_cache weights_cache; in TestF16() 267 xnn_weights_cache weights_cache; in TestF32() 343 void VerifyWeightsCache(const xnn_weights_cache& weights_cache, size_t old_size) const { in VerifyWeightsCache()
|
D | fully-connected-operator-tester.h | 240 xnn_weights_cache weights_cache; in TestQS8() 421 xnn_weights_cache weights_cache; in TestQU8() 590 xnn_weights_cache weights_cache; in TestF32() 765 xnn_weights_cache weights_cache; in TestF16() 874 void VerifyWeightsCache(const xnn_weights_cache& weights_cache, size_t old_size) const { in VerifyWeightsCache()
|
D | convolution-operator-tester.h | 673 xnn_weights_cache weights_cache; in TestNHWCxQC8() 889 xnn_weights_cache weights_cache; in TestNHWCxQS8() 1127 xnn_weights_cache weights_cache; in TestNHWCxQU8() 1362 xnn_weights_cache weights_cache; in TestNHWCxF32() 1631 xnn_weights_cache weights_cache; in TestNHWCxF16() 1897 xnn_weights_cache weights_cache; in TestNCHWxF32() 3165 void VerifyWeightsCache(const xnn_weights_cache &weights_cache, size_t old_size) const { in VerifyWeightsCache() 3172 void VerifyWeightsCacheUnused(const xnn_weights_cache &weights_cache) const { in VerifyWeightsCacheUnused()
|
D | deconvolution-operator-tester.h | 543 xnn_weights_cache weights_cache; in TestQS8() 646 void VerifyWeightsCache(xnn_weights_cache* weights_cache, size_t old_size) const { in VerifyWeightsCache() 746 xnn_weights_cache weights_cache; in TestQU8() 959 xnn_weights_cache weights_cache; in TestF16() 1160 xnn_weights_cache weights_cache; in TestF32() 1247 xnn_weights_cache weights_cache; in StressWeightsCacheTestF32()
|
/external/XNNPACK/src/ |
D | cache.c | 307 struct xnn_weights_cache* cache, in xnn_internal_init_weights_cache() 311 memset(cache, 0, sizeof(struct xnn_weights_cache)); in xnn_internal_init_weights_cache() 336 enum xnn_status xnn_init_weights_cache_with_size(struct xnn_weights_cache* cache, size_t size) in xnn_init_weights_cache_with_size() 341 enum xnn_status xnn_init_weights_cache(struct xnn_weights_cache* cache) in xnn_init_weights_cache() 347 struct xnn_weights_cache* cache, in xnn_finalize_weights_cache() 387 enum xnn_status xnn_release_weights_cache(struct xnn_weights_cache* cache) in xnn_release_weights_cache() 403 static inline bool cache_has_space(struct xnn_weights_cache* cache, size_t n) in cache_has_space() 409 void* xnn_reserve_space_in_weights_cache(struct xnn_weights_cache* cache, size_t n) { in xnn_reserve_space_in_weights_cache() 441 size_t xnn_get_or_insert_weights_cache(struct xnn_weights_cache* cache, void* ptr, size_t size) in xnn_get_or_insert_weights_cache() 488 bool xnn_weights_cache_is_finalized(struct xnn_weights_cache* cache) { in xnn_weights_cache_is_finalized()
|
D | runtime.c | 76 struct xnn_weights_cache* weights_cache = NULL; in xnn_create_weights_cache_with_size() 84 weights_cache = xnn_allocate_zero_memory(sizeof(struct xnn_weights_cache)); in xnn_create_weights_cache_with_size() 86 …ror("failed to allocate %zu bytes for weights cache descriptor", sizeof(struct xnn_weights_cache)); in xnn_create_weights_cache_with_size() 411 struct xnn_weights_cache* weights_cache = opdata->operator_objects[0]->weights_cache; in xnn_setup_runtime()
|
/external/XNNPACK/include/ |
D | xnnpack.h | 1355 typedef struct xnn_weights_cache* xnn_weights_cache_t;
|