braincore.mixin.Batching

braincore.mixin.Batching#

class braincore.mixin.Batching(batch_size=1, batch_axis=0)[source]#

Batching mode.

__init__(batch_size=1, batch_axis=0)[source]#

Methods

__init__([batch_size, batch_axis])

has(mode)

Check whether the mode is included in the desired mode.

is_a(mode)

Check whether the mode is exactly the desired mode.