MCPcopy Create free account
hub / github.com/andreariba/DeepCycle / __init__

Method __init__

DeepCycle.py:254–255  ·  view source on GitHub ↗
(self, input_dim=1)

Source from the content-addressed store, hash-verified

252#CIRCULAR LAYER FOR THE AUTOENCODER
253class Circularize(tfkl.Layer):
254 def __init__(self, input_dim=1):
255 super(Circularize, self).__init__()
256
257 def call(self, inputs):
258 return tf.concat([tf.math.cos(2*np.pi*inputs),tf.math.sin(2*np.pi*inputs)], axis=1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected