Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/layers/
Dpooling.py53 def __init__(self, pool_function, pool_size, strides, argument
58 self.pool_size = utils.normalize_tuple(pool_size, 1, 'pool_size')
70 pool_shape = (1, 1) + self.pool_size + (1,)
77 pool_shape = (1, 1, 1) + self.pool_size
95 length = utils.conv_output_length(input_shape[1], self.pool_size[0],
119 def __init__(self, pool_size, strides, argument
124 pool_size=pool_size,
133 def average_pooling1d(inputs, pool_size, strides, argument
159 layer = AveragePooling1D(pool_size=pool_size,
186 def __init__(self, pool_size, strides, argument
[all …]
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
Dpooling.py48 def __init__(self, pool_size=2, strides=None, padding='valid', **kwargs): argument
50 strides = pool_size
51 super(MaxPooling1D, self).__init__(pool_size, strides, padding, **kwargs)
56 'pool_size': self.pool_size,
81 def __init__(self, pool_size=2, strides=None, padding='valid', **kwargs): argument
83 strides = pool_size
84 super(AveragePooling1D, self).__init__(pool_size, strides, padding,
90 'pool_size': self.pool_size,
140 pool_size=(2, 2), argument
148 strides = pool_size
[all …]
Dpooling_test.py77 pool_size = (3, 3)
85 'pool_size': pool_size
120 pool_size = (3, 3, 3)
126 'pool_size': pool_size},
134 'pool_size': pool_size
139 pool_size = (3, 3, 3)
145 'pool_size': pool_size},
153 'pool_size': pool_size
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Drandom_tensor_pool_test.py35 output_value = tensor_pool(input_value, pool_size=10)
47 output_value = tensor_pool(input_value, pool_size=10)
65 input_value, pool_size=10, pooling_probability=0.0)
76 pool_size = 10
80 pool_size=pool_size,
92 (not_pooled - pool_size) / (total - pool_size),
100 output_values = tensor_pool(input_values, pool_size=3)
Drandom_tensor_pool_impl.py52 pool_size=50, argument
82 pool_size = int(pool_size)
83 if pool_size < 0:
85 elif pool_size == 0:
95 capacity=pool_size,
128 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 …]
Disakmp_cfg.h99 size_t pool_size; member
/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain_test.py251 def get_tensor_pool_fn(pool_size): argument
254 return random_tensor_pool.tensor_pool(input_values, pool_size=pool_size)
259 def get_tensor_pool_fn_for_infogan(pool_size): argument
264 [generated_data] + generator_inputs, pool_size=pool_size)
513 pool_size): argument
517 for i in range(2 * pool_size):
520 if i < pool_size:
540 pool_size = 5
542 model, get_tensor_pool_fn(pool_size=pool_size))
548 pool_size)
[all …]
/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/tools/api/golden/
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.cc73 int pool_size = (hend - hstart) * (wend - wstart); in DEFINE_GPU_KERNELS() local
75 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/tensorflow/tensorflow/examples/learn/
Dmnist.py47 h_conv1, pool_size=2, strides=2, padding='same')
58 h_conv2, pool_size=2, strides=2, padding='same')
/external/valgrind/docs/
DREADME161 fixed by editing /etc/texmf/texmf.cnf and changing pool_size to
210 pool_size.pdfxmltex = 500000
212 pool_size.pdfxmltex = 1500000
238 pool_size.pdfxmltex = 500000
240 pool_size.pdfxmltex = 1500000
/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;
/external/autotest/site_utils/lxc/container_pool/
Dservice.py73 def start(self, pool_size=constants.DEFAULT_CONTAINER_POOL_SIZE): argument
87 self._pool = pool.Pool(factory=factory, size=pool_size)
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dbackend.py4010 pool_size, argument
4042 pool_size = (1,) + pool_size + (1,)
4045 pool_size = (1, 1) + pool_size
4049 x, pool_size, strides, padding=padding, data_format=tf_data_format)
4052 x, pool_size, strides, padding=padding, data_format=tf_data_format)
4063 pool_size, argument
4095 pool_size = (1,) + pool_size + (1,)
4098 pool_size = (1, 1) + pool_size
4102 x, pool_size, strides, padding=padding, data_format=tf_data_format)
4105 x, pool_size, strides, padding=padding, data_format=tf_data_format)
/external/fio/
Dsmalloc.c65 unsigned int pool_size = pool->nr_blocks * SMALLOC_BPL; in ptr_valid() local
67 return (ptr >= pool->map) && (ptr < pool->map + pool_size); in ptr_valid()
/external/autotest/site_utils/
Dlxc_pool_service.py68 service.start(pool_size=args.size)

123