We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3105772 commit 3e018ceCopy full SHA for 3e018ce
tensorflowTUT/tf20_RNN2.2/full_code.py
@@ -100,7 +100,8 @@ def compute_cost(self):
100
name='average_cost')
101
tf.summary.scalar('cost', self.cost)
102
103
- def ms_error(self, labels, logits):
+ @staticmethod
104
+ def ms_error(labels, logits):
105
return tf.square(tf.subtract(labels, logits))
106
107
def _weight_variable(self, shape, name='weights'):
0 commit comments