Home
last modified time | relevance | path

Searched refs:pool_size (Results 1 – 25 of 100) sorted by relevance

1234

/external/XNNPACK/test/
Dmax-pooling-nhwc.cc19 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST() local
23 .input_width(pool_size + 2) in TEST()
25 .pooling_width(pool_size) in TEST()
35 for (size_t pool_size = 3; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST() local
41 .input_width(pool_size + 2) in TEST()
45 .pooling_width(pool_size) in TEST()
57 for (size_t pool_size = 3; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST() local
58 for (size_t input_width = pool_size; input_width <= pool_size * 2; input_width++) { in TEST()
65 .pooling_width(pool_size) in TEST()
76 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST() local
[all …]
Dargmax-pooling-nhwc.cc32 …for (size_t pool_size = 2; pool_size <= FindMaxSinglePassPoolingSize(xnn_params.f32.argmaxpool); p… in TEST() local
36 .input_width(pool_size + 2) in TEST()
38 .pooling_width(pool_size) in TEST()
48 …for (size_t pool_size = 3; pool_size <= FindMaxSinglePassPoolingSize(xnn_params.f32.argmaxpool); p… in TEST() local
54 .input_width(pool_size + 2) in TEST()
58 .pooling_width(pool_size) in TEST()
70 …for (size_t pool_size = 3; pool_size <= FindMaxSinglePassPoolingSize(xnn_params.f32.argmaxpool); p… in TEST() local
71 for (size_t input_width = pool_size + 1; input_width <= pool_size; input_width++) { in TEST()
78 .pooling_width(pool_size) in TEST()
89 …for (size_t pool_size = 2; pool_size <= FindMaxSinglePassPoolingSize(xnn_params.f32.argmaxpool); p… in TEST() local
[all …]
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dpooling.py48 def __init__(self, pool_size, strides, argument
54 pool_size=pool_size,
63 def average_pooling1d(inputs, pool_size, strides, argument
92 layer = AveragePooling1D(pool_size=pool_size,
119 def __init__(self, pool_size, strides, argument
125 pool_size=pool_size,
134 def max_pooling1d(inputs, pool_size, strides, argument
163 layer = MaxPooling1D(pool_size=pool_size,
194 def __init__(self, pool_size, strides, argument
200 pool_size=pool_size, strides=strides,
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dpooling.py57 def __init__(self, pool_function, pool_size, strides, argument
64 strides = pool_size
66 self.pool_size = conv_utils.normalize_tuple(pool_size, 1, 'pool_size')
77 self.pool_size + (1,),
92 self.pool_size[0],
103 'pool_size': self.pool_size,
191 def __init__(self, pool_size=2, strides=None, argument
196 pool_size=pool_size,
237 def __init__(self, pool_size=2, strides=None, argument
241 pool_size=pool_size,
[all …]
Dpooling_test.py155 pool_size = (3, 3)
162 'pool_size': pool_size
205 pool_size = (3, 3, 3)
211 'pool_size': pool_size
220 'pool_size': pool_size
225 pool_size = (3, 3, 3)
231 'pool_size': pool_size
240 'pool_size': pool_size
/external/mesa3d/src/intel/vulkan/tests/
Dstate_pool_padding.c43 uint64_t pool_size = bp->size; in main() local
49 struct anv_state state = anv_state_pool_alloc(&state_pool, pool_size, 16); in main()
52 ASSERT(bp->size > pool_size); in main()
55 ASSERT(state.offset == pool_size); in main()
61 ASSERT(state.offset + state.alloc_size <= pool_size); in main()
65 int left_chunks = pool_size / 4096 - 2; in main()
68 ASSERT(state.offset + state.alloc_size <= pool_size); in main()
72 pool_size = bp->size; in main()
74 ASSERT(bp->size > pool_size); in main()
75 ASSERT(state.offset == pool_size); in main()
/external/ipsec-tools/src/racoon/
Dprivsep.c508 int pool_size; in privsep_init() local
571 int pool_size; in privsep_init() local
582 memcpy(&pool_size, bufs[2], sizeof(pool_size)); in privsep_init()
584 if (pool_size != isakmp_cfg_config.pool_size) in privsep_init()
585 if (isakmp_cfg_resize_pool(pool_size) != 0) in privsep_init()
607 int pool_size; in privsep_init() local
622 memcpy(&pool_size, bufs[1], sizeof(pool_size)); in privsep_init()
628 if (pool_size != isakmp_cfg_config.pool_size) in privsep_init()
629 if (isakmp_cfg_resize_pool(pool_size) != 0) in privsep_init()
652 int pool_size; in privsep_init() local
[all …]
/external/rust/crates/futures-executor/src/
Dthread_pool.rs38 pool_size: usize, field
66 .field("pool_size", &self.pool_size) in fmt()
193 pool_size: cmp::max(1, num_cpus::get()), in new()
209 pub fn pool_size(&mut self, size: usize) -> &mut Self { in pool_size() method
211 self.pool_size = size; in pool_size()
273 size: self.pool_size, in create()
277 for counter in 0..self.pool_size { in create()
374 .pool_size(2) in test_drop_after_start()
/external/google-breakpad/src/client/mac/handler/
Dprotected_memory_allocator.cc38 ProtectedMemoryAllocator::ProtectedMemoryAllocator(vm_size_t pool_size) in ProtectedMemoryAllocator() argument
39 : pool_size_(pool_size), in ProtectedMemoryAllocator()
45 pool_size, in ProtectedMemoryAllocator()
Dprotected_memory_allocator.h49 ProtectedMemoryAllocator(vm_size_t pool_size);
/external/skqp/src/compute/skc/platforms/cl_12/
Druntime_cl_12.c44 runtime->block_pool.size->pool_size * in skc_block_pool_create()
63 cl(SetKernelArg(k0,1,SKC_CL_ARG(runtime->block_pool.size->pool_size))); in skc_block_pool_create()
67 cq,k0,runtime->block_pool.size->pool_size, in skc_block_pool_create()
72 cl(SetKernelArg(k1,1,SKC_CL_ARG(runtime->block_pool.size->pool_size))); in skc_block_pool_create()
154 runtime->config->block_pool.pool_size); in skc_runtime_cl_12_create()
265 skc_uint const inuse = runtime->config->block_pool.pool_size - available; in skc_runtime_cl_12_debug()
Dblock_pool_cl.h27 skc_uint pool_size; // number of blocks member
/external/zstd/examples/
Dstreaming_compression_thread_pool.c138 int pool_size = atoi (argv[1]); in main() local
139 CHECK(pool_size != 0, "can't parse POOL_SIZE!"); in main()
148 ZSTD_threadPool *pool = ZSTD_createThreadPool (pool_size); in main()
150 fprintf (stderr, "Using shared thread pool of size %d\n", pool_size); in main()
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax.cc132 const auto pool_size = m[kPoolSizeStr].AsTypedVector(); in Init() local
133 TFLITE_CHECK_EQ(pool_size.size(), 4); in Init()
134 TFLITE_CHECK_EQ(pool_size[0].AsInt32(), 1); in Init()
135 TFLITE_CHECK_EQ(pool_size[3].AsInt32(), 1); in Init()
136 op_data->params.filter_height = pool_size[1].AsInt32(); in Init()
137 op_data->params.filter_width = pool_size[2].AsInt32(); in Init()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dperception_ops_utils.cc109 llvm::SmallVector<int32_t, 2> pool_size; in CreateCustomOptions() local
110 if (failed(GetIntegerArraySafe(&func_, attrs, "pool_size", &pool_size, 2))) { in CreateCustomOptions()
113 pool_params.filter_height = pool_size[0]; in CreateCustomOptions()
114 pool_params.filter_width = pool_size[1]; in CreateCustomOptions()
/external/llvm-project/llvm/utils/
Ddemangle_tree.py149 pool_size = 48
150 pool = Pool(processes=pool_size)
179 process_pending_files(pool, pool_size, args.objdump, context)
181 assert(context.npending < pool_size);
182 process_one_chunk(pool, pool_size, args.objdump, context)
/external/flatbuffers/tests/MyGame/Example/
Dmonster_test_grpc_fb.py210 …def beta_create_MonsterStorage_server(servicer, pool=None, pool_size=None, default_timeout=None, m… argument
222 … beta_implementations.server_options(thread_pool=pool, thread_pool_size=pool_size, default_timeout…
226 …eate_MonsterStorage_stub(channel, host=None, metadata_transformer=None, pool=None, pool_size=None): argument
238 …host=host, metadata_transformer=metadata_transformer, thread_pool=pool, thread_pool_size=pool_size)
/external/gemmlowp/test/
Dbenchmark.cc85 const std::size_t pool_size = 1 + min_working_set_size / combined_gemm_sizes; in time_for_gemms() local
87 std::vector<LhsType> lhs(pool_size * gemms.size()); in time_for_gemms()
88 std::vector<RhsType> rhs(pool_size * gemms.size()); in time_for_gemms()
89 std::vector<ResultType> result(pool_size * gemms.size()); in time_for_gemms()
91 for (std::size_t i = 0; i < pool_size; i++) { in time_for_gemms()
119 if (pool_index == pool_size) { in time_for_gemms()
Dcorrectness_meta_gemm.cc178 gemmlowp::WorkersPool* pool, std::int32_t pool_size) { in test() argument
183 gemmlowp::meta::multi_thread_gemm_q8(pool, pool_size, scratch, lhs, rhs, m, n, in test()
190 gemmlowp::WorkersPool* pool, std::int32_t pool_size) { in test_f() argument
196 gemmlowp::meta::multi_thread_gemm_f(pool, pool_size, scratch, lhs, rhs, m, n, in test_f()
204 std::int32_t pool_size) { in test_i32() argument
209 gemmlowp::meta::multi_thread_gemm_i32(pool, pool_size, scratch, lhs, rhs, m, in test_i32()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.pbtxt85 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
89 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
93 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
133 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
137 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
141 …argspec: "args=[\'inputs\', \'pool_size\', \'strides\', \'padding\', \'data_format\', \'name\'], v…
/external/tensorflow/tensorflow/core/kernels/
Davgpooling_op_gpu.cu.cc72 int pool_size = (hend - hstart) * (wend - wstart); in DEFINE_GPU_KERNELS() local
74 dtype(pool_size); in DEFINE_GPU_KERNELS()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c50 uint32_t pool_size = sizeof(*pool) + pCreateInfo->queryCount * sizeof(struct pipe_query *); in lvp_CreateQueryPool() local
53 pool_size, 8, in lvp_CreateQueryPool()
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
Dmnist_conv_benchmark_test.py45 tf.keras.layers.MaxPooling2D(pool_size=(2, 2)),
47 tf.keras.layers.MaxPooling2D(pool_size=(2, 2)),
Dcifar10_cnn_benchmark_test.py45 model.add(tf.keras.layers.MaxPooling2D(pool_size=(2, 2)))
52 model.add(tf.keras.layers.MaxPooling2D(pool_size=(2, 2)))
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf26 pool_size 255;

1234