Swap

Contents

Swap#

class discopy.feedback.Swap(left, right)[source]#

Bases: Swap, Box

The swap of feedback types left and right.

Parameters:
  • left – The type on the top left and bottom right.

  • right – The type on the top right and bottom left.