• Ted Themistokleous's avatar
    Split mod operation into fmod & mod equivalents · 8ff4b151
    Ted Themistokleous authored
    Since onnx's Mod operation changes behavior based on whether the fmod flag is set, functionality is now split to mirror python's fmod() functionality.
    
    For the integer mod case, I had to use a componsition of std::fmod() so that floating and integral types are all handled while also perserving sign to be identital to the python numpy::mod() case.
    8ff4b151
parse_mod.cpp 2.17 KB