Questions tagged [pooling]

a container holds ready objects for clients, to reduce initialization time of expensive buffers or resources.

Commonly refers to network or database connection pools, or byte buffer pools.

239 questions
0
votes
0 answers

Scene aligned pooling (SAP)

Scene aligned pooling (SAP) I am working on deep learning for the first-person video And I need help how to applicate scene aligned pooling(SAP)
imen
  • 1
  • 1
0
votes
1 answer

Java: Object pooling and hash sets

lets assume following class... class Foo { private Bar1 bar1; private Bar2 bar2; // many other fields @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return…
Michal
  • 1,955
  • 5
  • 33
  • 56
0
votes
1 answer

LdapTemplate search catch exception with parallel stream and LdapTemplate

I has problems try go search groups on LDAP using spring-ldap search with parallelism. I am make a batch processing to load data from SQL database to LDAP. I use spring-boot and spring-ldap. My algorithm tries search for a group at ldap using its…
0
votes
1 answer

Unity - "Dynamic" Object pooling

I'm making a small game for android and currently use a pooling system e.g. for enemies, projectiles etc. As for now I'm Async loading in levels as you play the game which means no loading scene when venturing into a new zone. Pool is created when…
Ills
  • 415
  • 1
  • 3
  • 13
0
votes
1 answer

Oracle Streams AQ. session.getQueue throwing AQOracleSQLException: Exhausted Resultset

Using Oracle Streams AQ in a multithreaded/multi-app environment I received an AQOracleSQLException: Exhausted Resultset after about 10 minutes of operation in one thread only. oracle.AQ.AQOracleSQLException: Exhausted Resultset at…
Synesso
  • 37,610
  • 35
  • 136
  • 207
0
votes
0 answers

socket disconnect acknowledgment time delay when user go offline/online

We are facing an problem with socket on internet switching case. For example : An user connected to Internet A & switched the internet to network B . When user disconnected then Socket taking time to fire socket.disconnect() event but in meanwhile…
Sahil
  • 41
  • 3
0
votes
1 answer

Proper use of tf.layers.MaxPooling

I'm building a model in Tensorflow using tf.layers objects. When I run the following code using tf.layers.MaxPooling2D my model does not reduce in size. I've only recently switched from using Keras to Tensorflow directly so I presume I'm…
Taylor Childers
  • 363
  • 1
  • 6
  • 14
0
votes
0 answers

Input channels of pooling in Tensorflow

I would like to reduce the dimensions of input vectors by a similar procedure like average pooling. The inputs are some vectors of length K*L, and I want to reduce their dimensions by taking the average every L entries to form vectors of length K. I…
Bowen Hou
  • 13
  • 3
0
votes
1 answer

How to find top most Activity launched in android?

I need a way to detect the active Activity without pooling. The right way is to have a Service that listens for Activities launching in a continuous way. BUT, I do not want to do pooling since it drains the battery. I have tried READ_LOGS…
Duna
  • 1,564
  • 1
  • 16
  • 36
0
votes
1 answer

Calculate minimum of overlapping window

I am having trouble with thinking of a way to solve a problem. I have a dataframe like the one below: These are values for overlapping windows. My challenge is to calculate the minimum value when pooling(?) the windows. It should look like: I am a…
Nienke Mekkes
  • 87
  • 1
  • 6
0
votes
1 answer

understanding data pooling properties

I was wondering what is maxPoolSize for? what is minPoolSize for? How do I know which property value to use for my database? EDITED I am using Oracle 10g, connecting with Hibernate and bitronix on windows OS.
Dejell
  • 13,947
  • 40
  • 146
  • 229
0
votes
1 answer

Pytorch adaptive_avg_pool2d algorithm

Anyone knows the algorithm for pytorch adaptive_avg_pool2d, for example, adaptive_avg_pool2d(image,[14,14]) so question: I want to do the same in keras neural network, for any give inputs, want to get 14*14 output. Any suggestions?
user10282036
  • 321
  • 2
  • 5
  • 13
0
votes
1 answer

Simple Average Pooling with Tensorflow

I'm trying to do some very simple average pooling on a Keras / Tensorflow Tensor (not a layer in a network). I have a list of 18 embeddings (embedding = 2D vector) and want to average pool them with a pool-size of 3 with no overlap. So the first 3…
Manuel Huber
  • 121
  • 2
  • 14
0
votes
1 answer

Multiple posts to DB with Linq

if i have two thousand webusers each sumbmitting a post to sqldb through website at the same time same tables, will linq handle this without any problems?
zsharp
  • 13,656
  • 29
  • 86
  • 152
0
votes
1 answer

Connection pooling strategy using guzzle

I want to achieve high availability with SolR Cloud. I need to dev a SolR PHP Client supporting node failure. My lead is to work with guzzle RetryMiddleware and somehow keeptrack of up or down nodes. My question is : is it a good lead ? (I'm not…
quazardous
  • 846
  • 10
  • 15