clamp abstract method

void clamp(
  1. T lowerLimit,
  2. T upperLimit
)

Clamps elements of this tensor.

Throws ArgumentError if tensor shapes are not equal.

Implementation

void clamp(T lowerLimit, T upperLimit);