qat.plugins.EmptyPlugin.rst

class qat.plugins.EmptyPlugin(*args, **kwargs)

This class provides a plugin that does nothing. This plugin is designed to simplify the creation of conditional stacks

stack = EmptyPlugin()

if condition:
    stack |= OtherPlugin()
compile(batch, specs)

Compiles a Batch into another Batch according to some hardware specs

Parameters:
Returns:

compiled batch

Return type:

Batch