(self, shape, name='weights')
| 105 | return tf.square(tf.subtract(labels, logits)) |
| 106 | |
| 107 | def _weight_variable(self, shape, name='weights'): |
| 108 | initializer = tf.random_normal_initializer(mean=0., stddev=1.,) |
| 109 | return tf.get_variable(shape=shape, initializer=initializer, name=name) |
| 110 | |
| 111 | def _bias_variable(self, shape, name='biases'): |
| 112 | initializer = tf.constant_initializer(0.1) |
no outgoing calls
no test coverage detected