# mxnet.engine.set_bulk_size¶

mxnet.engine.set_bulk_size(size)[source]

Set size limit on bulk execution.

Bulk execution bundles many operators to run together. This can improve performance when running a lot of small operators sequentially.

Parameters

size (int) – Maximum number of operators that can be bundled in a bulk.

Returns

Previous bulk size.

Return type

int