MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / flatten

Function flatten

GAN/Self_attention_GAN_tensorflow/ops.py:90–91  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

88 return x
89
90def flatten(x) :
91 return tf.layers.flatten(x)
92
93def hw_flatten(x) :
94 return tf.reshape(x, shape=[x.shape[0], -1, x.shape[-1]])

Callers 2

gradient_penaltyMethod · 0.85
fully_connetedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected