MCPcopy
hub / github.com/yenchenlin/DeepLearningFlappyBird / max_pool_2x2

Function max_pool_2x2

deep_q_network.py:35–36  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

33 return tf.nn.conv2d(x, W, strides = [1, stride, stride, 1], padding = "SAME")
34
35def max_pool_2x2(x):
36 return tf.nn.max_pool(x, ksize = [1, 2, 2, 1], strides = [1, 2, 2, 1], padding = "SAME")
37
38def createNetwork():
39 # network weights

Callers 1

createNetworkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected