Batcher.Config¶
Component: Batcher
-
class
Batcher.Config[source] Bases:
Component.Config
All Attributes (including base classes)
- train_batch_size: int =
16- Make batches of this size when possible. If there’s not enough data, might generate some smaller batches.
- eval_batch_size: int =
16- test_batch_size: int =
16
- Subclasses
PoolingBatcher.ConfigDynamicPoolingBatcher.ConfigExponentialDynamicPoolingBatcher.ConfigLinearDynamicPoolingBatcher.Config
Default JSON
{
"train_batch_size": 16,
"eval_batch_size": 16,
"test_batch_size": 16
}