Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 669 Bytes

NotLayer.md

File metadata and controls

33 lines (20 loc) · 669 Bytes

CNotLayer Class

This class implements a layer that implements logical not operation over integer data. The formula is:

not(x) = x == 0 ? 1 : 0;

Settings

The layer has no settings.

Trainable parameters

The layer has no trainable parameters.

Inputs

The single input accepts a blob with integer data of any size.

Outputs

The single output returns a blob of the same size where each element has been changed via the aforementioned formula.