Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/layers/
Dpooling.py47 def __init__(self, pool_size, strides, argument
53 pool_size=pool_size,
65 def average_pooling1d(inputs, pool_size, strides, argument
91 layer = AveragePooling1D(pool_size=pool_size,
118 def __init__(self, pool_size, strides, argument
124 pool_size=pool_size,
136 def max_pooling1d(inputs, pool_size, strides, argument
162 layer = MaxPooling1D(pool_size=pool_size,
193 def __init__(self, pool_size, strides, argument
199 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,
142 def __init__(self, pool_size=2, strides=None, argument
147 pool_size=pool_size,
185 def __init__(self, pool_size=2, strides=None, argument
189 pool_size=pool_size,
[all …]
Dpooling_test.py100 pool_size = (3, 3)
107 'pool_size': pool_size
147 pool_size = (3, 3, 3)
152 'pool_size': pool_size},
160 'pool_size': pool_size
166 pool_size = (3, 3, 3)
171 'pool_size': pool_size},
179 'pool_size': pool_size
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Drandom_tensor_pool_test.py37 output_value = tensor_pool(input_value, pool_size=10)
49 output_value = tensor_pool(input_value, pool_size=10)
67 input_value, pool_size=10, pooling_probability=0.0)
78 pool_size = 10
82 pool_size=pool_size,
94 (not_pooled - pool_size) / (total - pool_size),
102 output_values = tensor_pool(input_values, pool_size=3)
119 output_values = tensor_pool(input_values, pool_size=5)
Drandom_tensor_pool_impl.py51 pool_size=50, argument
82 pool_size = int(pool_size)
83 if pool_size < 0:
85 elif pool_size == 0:
94 capacity=pool_size,
127 pool_queue.size() < pool_size, _get_input_value_pooled,
/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 …]
Disakmp_cfg.c1347 size_t size = isakmp_cfg_config.pool_size;
2082 if (size == isakmp_cfg_config.pool_size)
2087 isakmp_cfg_config.pool_size, size);
2091 (size < isakmp_cfg_config.pool_size)) {
2092 for (i = isakmp_cfg_config.pool_size-1; i >= size; --i) {
2097 isakmp_cfg_config.pool_size, size, i);
2109 isakmp_cfg_config.pool_size, size, strerror(errno));
2114 if (size > isakmp_cfg_config.pool_size) {
2119 old_size = isakmp_cfg_config.pool_size;
2126 isakmp_cfg_config.pool_size = size;
[all …]
/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/skia/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/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/gemmlowp/test/
Dbenchmark.cc76 const std::size_t pool_size = 1 + min_working_set_size / combined_gemm_sizes; in time_for_gemms() local
78 std::vector<LhsType> lhs(pool_size * gemms.size()); in time_for_gemms()
79 std::vector<RhsType> rhs(pool_size * gemms.size()); in time_for_gemms()
80 std::vector<ResultType> result(pool_size * gemms.size()); in time_for_gemms()
82 for (std::size_t i = 0; i < pool_size; i++) { in time_for_gemms()
110 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/contrib/gan/python/
Dtrain_test.py700 tensor_pool_fn = lambda x: random_tensor_pool.tensor_pool(x, pool_size=5)
747 self, tensor1, tensor2, pool_size): argument
751 for i in range(2 * pool_size):
754 if i < pool_size:
764 def _make_new_model_and_check(self, model, pool_size): argument
765 pool_fn = lambda x: random_tensor_pool.tensor_pool(x, pool_size=pool_size)
776 pool_size = 5
778 new_model = self._make_new_model_and_check(model, pool_size)
783 pool_size)
787 pool_size = 5
[all …]
/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/u-boot/drivers/mtd/ubispl/
Dubispl.c247 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool() argument
253 ubi_dbg("Scanning pool size: %d", pool_size); in scan_pool()
255 for (i = 0; i < pool_size; i++) { in scan_pool()
290 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
331 pool_size = be16_to_cpu(fmpl1->size); in ubi_attach_fastmap()
336 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap()
337 ubi_err("bad pool size: %i", pool_size); in ubi_attach_fastmap()
463 ret = scan_pool(ubi, fmpl1->pebs, pool_size); in ubi_attach_fastmap()
/external/tensorflow/tensorflow/core/kernels/
Davgpooling_op_gpu.cu.cc74 int pool_size = (hend - hstart) * (wend - wstart); in DEFINE_GPU_KERNELS() local
76 dtype(pool_size); in DEFINE_GPU_KERNELS()
/external/tensorflow/tensorflow/examples/tutorials/layers/
Dcnn_mnist.py49 pool1 = tf.layers.max_pooling2d(inputs=conv1, pool_size=[2, 2], strides=2)
67 pool2 = tf.layers.max_pooling2d(inputs=conv2, pool_size=[2, 2], strides=2)
/external/u-boot/drivers/mtd/ubi/
Dfastmap.c455 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
459 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool()
478 dbg_bld("scanning fastmap pool: size = %i", pool_size); in scan_pool()
484 for (i = 0; i < pool_size; i++) { in scan_pool()
617 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
663 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
668 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap()
669 ubi_err(ubi, "bad pool size: %i", pool_size); in ubi_attach_fastmap()
813 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
/external/grpc-grpc/src/ruby/spec/
Dgoogle_rpc_status_utils_spec.rb143 @srv = new_rpc_server_for_testing(pool_size: 1)
231 @srv = new_rpc_server_for_testing(pool_size: 1)
/external/autotest/scheduler/
Ddrone_utility.py476 pool_size = max(
479 self._pool = multiprocessing.Pool(pool_size)
481 pool_size = 0
483 len(pidfile_paths), pool_size)
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf26 pool_size 255;
Dracoon.conf-radius25 pool_size 255;

1234