pymoose.identity#

pymoose.identity(x, placement=None)[source]#

The identity operation, f(x) = x.

Although the value of x is guaranteed to remain unchanged, note that its placement may differ.

Parameters
  • x – Input value to be returned.

  • placement – An optional Placement to pin this operation to.

Returns

The unchanged value x.