Use create_global_var instead of fill_constant in __init__ to make it compatible between dygraph and static-graph.
Add PPL metric.