JuliaPy / JuliaPy/PythonCall.jl
How to bypass automatic conversion to Float64?
オープン
question
- 主要言語
- Julia
- スター
- 1.1k
- フォーク
- 86
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 3
説明
I want to get my hands on a `Tuple{Float32, Float32}` in Python and there doesn't seem to be a good way of doing it
```pycon
>>> jl("typeof")(jl("Tuple{Float32, Float32}")((0.0, 1.0)))
Julia: Tuple{Float64, Float64}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Reproduce the PythonCall expression shown in the issue and inspect the conversion path used when constructing Tuple{Float32, Float32} from Python. The work is done when a Python-side tuple can preserve Float32 elements and the resulting Julia type matches the requested tuple type.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia, python
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100