Guest User

Untitled

a guest
Dec 10th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. val (final_prediction: Tensor, prev_predictions: List[Tensor]) =
  2. Tuple2(prediction.head, prediction.tail)
  3.  
  4. val error = final_prediction - target
  5.  
  6. val final_delta = error * final_prediction * (1 - final_prediction)
Add Comment
Please, Sign In to add comment