update auto-batching.
Merge pull request #331 from u0u0/master

update auto-batching.