• Brendan Murphy's avatar
    Use Python implementation for AdvancedInSubtensor1 · 48894fae
    Brendan Murphy 提交于
    MapIter was removed from the public numpy C-API in
    version 2.0, so we raise a not implemented error to
    default to the python code for the AdvancedInSubtensor1.
    
    The python version, defined in `AdvancedInSubtensor1.perform`
    calls `np.add.at`, which uses `MapIter` behind the scenes.
    There is active development on Numpy to improve the efficiency
    of `np.add.at`.
    
    To skip the C implementation and use the Python implementation,
    we raise a NotImplementedError for this op's c code if numpy>=2.0.
    48894fae
名称
最后提交
最后更新
.github 正在载入提交数据...
doc 正在载入提交数据...
pytensor 正在载入提交数据...
scripts 正在载入提交数据...
tests 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.pre-commit-config.yaml 正在载入提交数据...
.readthedocs.yaml 正在载入提交数据...
CODE_OF_CONDUCT.md 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
GOVERNANCE.md 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
README.rst 正在载入提交数据...
codecov.yml 正在载入提交数据...
conftest.py 正在载入提交数据...
environment-osx-arm64.yml 正在载入提交数据...
environment.yml 正在载入提交数据...
pyproject.toml 正在载入提交数据...
setup.py 正在载入提交数据...