pyhgf.model.conv.flatten_adapter#

pyhgf.model.conv.flatten_adapter(channels, height, width)[source]#

Build a frozen flatten, mapping (batch, C, H, W) to (batch, C*H*W).

Parameters:
Return type:

EquinoxAdapter