It's a PITA to create a new local `Distribution`
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
首先定位 local.maps.Distribution 以及从数组构造 distribution 的代码路径。确定现有 distribution 如何提供默认值,而 new_shape、new_dist 和 new_grid_shape 如何覆盖这些默认值,并检查是否需要全局通信。完成的标准是:可以基于现有的 Distribution 创建新的本地 Distribution,并支持这些更改。
由索引模型根据 Issue 内容生成。
描述
We should make it easier to make a new local Distribution -- perhaps allow creating a new distribution from an existing distribution.
This comes up when a new local arrays are created that don't match the distribution of the originating array -- perhaps the local shape changes, or the local ndims. local.maps.Distribution could have a classmethod like from_distribution that would take an existing distribution for the defaults and allow passing in new_shape, new_dist and new_grid_shape args that would set the appropriate values. There may need to be global communication to support this.
- 主要语言
- Python
- 星标
- 5
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
enthought/distarray 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 2/5 1-3 小时 新手友好度 35/100
-
bug
难度 3/5 1-2 天 新手友好度 30/100
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
查看 enthought/distarray 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·