MCPcopy Create free account
hub / github.com/deepdrive/deepdrive / conv2d

Function conv2d

tensorflow_agent/layers.py:26–30  ·  view source on GitHub ↗
(x, name, num_features, kernel_size, stride, group)

Source from the content-addressed store, hash-verified

24
25
26def conv2d(x, name, num_features, kernel_size, stride, group):
27 input_features = x.get_shape()[3]
28 w = tf.get_variable(name + "_W", [kernel_size, kernel_size, int(input_features) // group, num_features])
29 b = tf.get_variable(name + "_b", [num_features])
30 return conv(x, w, b, kernel_size, kernel_size, num_features, stride, stride, padding="SAME", group=group)
31
32
33def linear(x, name, size):

Callers 1

__init__Method · 0.90

Calls 1

convFunction · 0.85

Tested by

no test coverage detected