LinearBlock#
- class deeplay.blocks.linear.linear.LinearBlock(*args, **kwargs)#
Bases:
BaseBlockConvolutional block with optional normalization and activation.
Methods Summary
Calls the forward method with dummy data to build the block.
Returns the default activation function for the block.
Returns the default merge operation for the block.
Returns the default normalization function for the block.
Returns the default shortcut function for the block.
Methods Documentation
- call_with_dummy_data()#
Calls the forward method with dummy data to build the block.
- get_default_activation() DeeplayModule#
Returns the default activation function for the block.
- get_default_normalization() DeeplayModule#
Returns the default normalization function for the block.
- get_default_shortcut() DeeplayModule#
Returns the default shortcut function for the block.