MCPcopy
hub / github.com/MorvanZhou/tutorials / ms_error

Method ms_error

tensorflowTUT/tf22_scope/tf22_RNN_scope.py:84–85  ·  view source on GitHub ↗
(y_target, y_pre)

Source from the content-addressed store, hash-verified

82
83 @staticmethod
84 def ms_error(y_target, y_pre):
85 return tf.square(tf.subtract(y_target, y_pre))
86
87 @staticmethod
88 def _weight_variable(shape, name='weights'):

Callers 1

_built_RNNMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected