When I run sample code, there is always an error
terminate called after throwing an instance of 'dmlc::ParamError'
what(): Required parameter batch_size of int is not presented
Aborted (core dumped)
I think maybe you should set default in parameter batch_size.