def _unpack_gvars(g):
if g is not None:<EOL><INDENT>g = _gvar.gvar(g)<EOL>if not hasattr(g, '<STR_LIT>'):<EOL><INDENT>g = numpy.asarray(g)<EOL><DEDENT><DEDENT>return g<EOL>
Unpack collection of GVars to BufferDict or numpy array.