DeepX-inc / machina

Control section: Deep Reinforcement Learning framework
MIT License
278 stars 45 forks source link

Fixed random_batch in Traj class #210

Closed iory closed 5 years ago

iory commented 5 years ago

This PR fixes random_batch function in case of return_indices == True. Also, I add a test code.

rarilurelo commented 5 years ago

Thanks for fixing bug of random_batch with return_indicies being True and adding test.