brainpy.math.batching_environment#

class brainpy.math.batching_environment(dt=None, x64=None, complex_=None, float_=None, int_=None, bool_=None)[source]#

Environment with the batching mode.

This is a short-cut context setting for an environment with the batching mode. It is equivalent to:

>>> import brainpy.math as bm
>>> with bm.environment(mode=bm.batching_mode):
>>>   pass
__init__(dt=None, x64=None, complex_=None, float_=None, int_=None, bool_=None)[source]#

Methods

__init__([dt, x64, complex_, float_, int_, ...])

clone()