ProjectTo(::Vector{Vector{Float64}}) type unstable
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- julia
- 领域
- backend, performance
调研方向
首先使用 @code_warntype ProjectTo(x) 运行 MWE,并将其与 @code_warntype map(ProjectTo, x) 进行比较。跟踪 Vector{Vector{Float64}} 所涉及的 ProjectTo dispatch;当报告的操作具有类型稳定性,且相关行为由适当的测试覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
MWE:
using ChainRulesCore: ProjectTo
x = [randn(2), randn(3)]
@code_warntype ProjectTo(x)
It appears to be the case that this happens because
@code_warntype map(ProjectTo, x)
isn't type-stable.
I'm not sure what a fix looks like here unfortunately.
- 主要语言
- Julia
- 星标
- 267
- 派生
- 66
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaDiff/ChainRulesCore.jl 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 28/100
JuliaDiff/ChainRulesCore.jl#712 ·
维护者通常 1 天内回复
-
variable scope of `@thunk`可能已有人在做 @chengchingwen 于 621 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 32/100
JuliaDiff/ChainRulesCore.jl#684 ·
维护者通常 1 天内回复
-
good first issue Structural Tangent
难度 2/5 1-3 小时 新手友好度 55/100
JuliaDiff/ChainRulesCore.jl#669 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
JuliaDiff/ChainRulesCore.jl#668 · 6 条评论 ·
维护者通常 1 天内回复
-
breaking
难度 3/5 1-2 天 新手友好度 35/100
JuliaDiff/ChainRulesCore.jl#665 ·
维护者通常 1 天内回复
查看 JuliaDiff/ChainRulesCore.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
JuliaDiff/TaylorSeries.jl#445 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
SciML/PETScDiffEq.jl#362 ·
维护者通常 1 天内回复
-
🕷️ bug
难度 2/5 1-3 小时 新手友好度 78/100
CliMA/ClimaSeaIce.jl#203 ·
维护者通常 3 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 64/100
JuliaPhysics/BeamletOptics.jl#221 ·
维护者通常 1 天内回复
-
release preparation spack
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复