Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def loss(model, original):
- reconstruction_error = tf.reduce_mean(tf.square(tf.subtract(model(original), original)))
- return reconstruction_error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement