MCPcopy
hub / github.com/MorvanZhou/tutorials / conv2d

Function conv2d

tensorflowTUT/tf18_CNN3/full_code.py:31–34  ·  view source on GitHub ↗
(x, W)

Source from the content-addressed store, hash-verified

29 return tf.Variable(initial)
30
31def conv2d(x, W):
32 # stride [1, x_movement, y_movement, 1]
33 # Must have strides[0] = strides[3] = 1
34 return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME')
35
36def max_pool_2x2(x):
37 # stride [1, x_movement, y_movement, 1]

Callers 1

full_code.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected