FluxML / FluxML/Torch.jl

How to implement the `torch.gather` function?

Open
#35 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
240
Forks
18
PR merge metrics
No merged PRs in 30d

Description

With Array in Julia, I can use `m[[CartesianIndex(1,1), CartesianIndex(2,1)]]` to get the required elements. But with the `Tensor` in `Torch.jl` I only get `ERROR: getindex not defined for Tensor{Float32,2}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.