LinearBlock#

class deeplay.blocks.linear.linear.LinearBlock(*args, **kwargs)#

Bases: BaseBlock

Convolutional block with optional normalization and activation.

Methods Summary

call_with_dummy_data()

Calls the forward method with dummy data to build the block.

get_default_activation()

Returns the default activation function for the block.

get_default_merge()

Returns the default merge operation for the block.

get_default_normalization()

Returns the default normalization function for the block.

get_default_shortcut()

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_merge() MergeOp#

Returns the default merge operation 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.