• Sebastian Pölsterl's avatar
    Fix build for pytorch 0.4.1 · b681c4b8
    Sebastian Pölsterl authored
    THTensor is defined as an opaque data type,
    thus direct access to members is not possible anymore.
    Instead, use functions from C API to retrieve stride.
    
    Fixes #4
    b681c4b8
THGrid.c 807 Bytes