JuliaPy / JuliaPy/PythonCall.jl
How to bypass automatic conversion to Float64?
Aberta
question
- Linguagem predominante
- Julia
- Estrelas
- 1.1k
- Forks
- 86
- Merge médio
- 1d 22h
- PRs com merge (30d)
- 3
Descrição
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}
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- julia, python
- Domínio
- backend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100