how to implement tensorflow's next_batch for own data how to implement tensorflow's next_batch for own data numpy numpy