Rate this Page

LinearTanh#

class torch.ao.nn.intrinsic.modules.fused.LinearTanh(linear, tanh)[source]#

This is a sequential container which calls the Linear and Tanh modules. During quantization this will be replaced with the corresponding fused module.