modeci_mdf.functions.onnx.sign

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

Calculate the sign of the given input tensor element-wise. If input > 0, output 1. if input < 0, output -1. if input == 0, output 0.