SubtractionCompositionModule

class SubtractionCompositionModule(*args, **kwargs)[source]

Bases: FunctionalCompositionModule

Composition by element-wise subtraction.

Initialize internal Module state, shared by both nn.Module and ScriptModule.

Methods Summary

func(b)

Subtracts with torch.sub()

Methods Documentation

func(b)

Subtracts with torch.sub()