• Vivek Kulkarni's avatar
    Tensor Type has now a sparse grad attribute which can be set or unset to… · e7618407
    Vivek Kulkarni 提交于
    Tensor Type has now a sparse grad attribute which can be set or unset to determine if sparse gradient is to be enabled or not. Note if needed, we can provide getters and setters to set the attributes to provide more clean interfaces to application. Right now application can access this attribute and set it before calculating gradient
    e7618407
basic.py 251.6 KB