Skip to main content
Log in

Mojo struct

ReduceOp

struct ReduceOp

Aliases

  • ADD = ReduceOp(0): Reduce operation: add.
  • MIN = ReduceOp(1): Reduce operation: minimum.
  • MAX = ReduceOp(2): Reduce operation: maximum.
  • AND = ReduceOp(3): Reduce operation: bitwise AND.
  • OR = ReduceOp(4): Reduce operation: bitwise OR.
  • XOR = ReduceOp(5): Reduce operation: bitwise XOR.

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__eq__

__eq__(self, other: Self) -> Bool

__ne__

__ne__(self, other: Self) -> Bool

__is__

__is__(self, other: Self) -> Bool

__isnot__

__isnot__(self, other: Self) -> Bool

__str__

__str__(self) -> String

mnemonic

mnemonic(self) -> StringLiteral