MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / shape

Method shape

mla/neuralnet/layers/convnet.py:122–126  ·  view source on GitHub ↗
(self, x_shape)

Source from the content-addressed store, hash-verified

120 )
121
122 def shape(self, x_shape):
123 h, w = convoltuion_shape(
124 x_shape[2], x_shape[3], self.pool_shape, self.stride, self.padding
125 )
126 return x_shape[0], x_shape[1], h, w
127
128
129class Flatten(Layer):

Callers

nothing calls this directly

Calls 1

convoltuion_shapeFunction · 0.85

Tested by

no test coverage detected