Home
last modified time | relevance | path

Searched refs:xnn_get_or_insert_weights_cache (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/XNNPACK/test/
H A Dweights-cache.cc60 ASSERT_EQ(0, xnn_get_or_insert_weights_cache(&cache, cache.cache.weights.start, 4)); in TEST()
68 ASSERT_EQ(0, xnn_get_or_insert_weights_cache(&cache, span2_weights, 4)); in TEST()
76 ASSERT_EQ(4, xnn_get_or_insert_weights_cache(&cache, span3_weights, 4)); in TEST()
94 …ASSERT_EQ(expected_offset, xnn_get_or_insert_weights_cache(&cache, cache_end(&cache), s.length())); in TEST()
106 …ASSERT_EQ(expected_offset, xnn_get_or_insert_weights_cache(&cache, cache_end(&cache), s.length())); in TEST()
239 xnn_get_or_insert_weights_cache(&cache, cache_end(&cache), weights_size); in TEST()
272 xnn_get_or_insert_weights_cache(&cache, cache_end(&cache), weights_size); in TEST()
305 …ASSERT_EQ(XNN_CACHE_NOT_FOUND, xnn_get_or_insert_weights_cache(&cache, cache.cache.weights.start, … in TEST()
330 ASSERT_EQ(0, xnn_get_or_insert_weights_cache(&cache, cache.cache.weights.start, 4)); in TEST()
337 ASSERT_EQ(0, xnn_get_or_insert_weights_cache(&cache, cached_weights, 4)); in TEST()
[all …]
/aosp_15_r20/external/XNNPACK/src/xnnpack/
H A Dcache.h106 size_t xnn_get_or_insert_weights_cache(struct xnn_weights_cache* cache, void* ptr, size_t size);
/aosp_15_r20/external/XNNPACK/src/operators/
H A Dconvolution-nchw.c431 convolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in xnn_create_convolution2d_nchw_f32()
471 convolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in xnn_create_convolution2d_nchw_f32()
H A Dprelu-nc.c98 prelu_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_prelu_nc()
H A Dconvolution-nhwc.c415 convolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_convolution2d_nhwc()
473 convolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_convolution2d_nhwc()
596 convolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_convolution2d_nhwc()
H A Dfully-connected-nc.c150 fully_connected_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_fully_connected_nc()
H A Ddeconvolution-nhwc.c227 deconvolution_op->packed_weights.offset = xnn_get_or_insert_weights_cache( in create_deconvolution2d_nhwc()
/aosp_15_r20/external/XNNPACK/src/
H A Dcache.c441 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() function