modeci_mdf.functions.onnx.lpnormalization

modeci_mdf.functions.onnx.lpnormalization(*args, **kwargs)

Given a matrix, apply Lp-normalization along the provided axis. The output is computed as: output = input / Lp_norm(input, axis). When the Lp norm is zero (i.e., all elements along the axis are zero), the output is defined to be zero to avoid division by zero.