MCPcopy Create free account
hub / github.com/alibaba/euler / __init__

Method __init__

tf_euler/python/convolution/dna_conv.py:28–36  ·  view source on GitHub ↗
(self, dim, groups=1,
                 activation=None,
                 use_bias=True,
                 **kwargs)

Source from the content-addressed store, hash-verified

26
27class GroupDense(tf.layers.Layer):
28 def __init__(self, dim, groups=1,
29 activation=None,
30 use_bias=True,
31 **kwargs):
32 super(GroupDense, self).__init__(**kwargs)
33 self.dim = dim
34 self.groups = groups
35 self.activation = activation
36 self.use_bias = use_bias
37
38 def build(self, input_shape):
39 input_shape = tf.TensorShape(input_shape)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected