tensor::round() cannot be defined in an anonymous namespace.
Added tensor::max and min