Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val (final_prediction: Tensor, prev_predictions: List[Tensor]) =
- Tuple2(prediction.head, prediction.tail)
- val error = final_prediction - target
- val final_delta = error * final_prediction * (1 - final_prediction)
Add Comment
Please, Sign In to add comment