Flux.jl 有张量对象吗?
Does Flux.jl have tensor objects?
来自 Tensorflow 和 Pytorch,Flux.jl 是否包含类似张量的结构?如果不是,构造数据的常用方法是什么?
来自Flux.jl docs:
The starting point for all of our models is the Array (sometimes referred to as a Tensor in other frameworks). This is really just a list of numbers, which might be arranged into a shape like a square.
鉴于此,表示数据的方式只是通过传统矩阵(只是数组)。您可以在此处找到有关 Julia 的第一个 class 数组支持的更多信息:https://docs.julialang.org/en/v1/manual/arrays/
来自 Tensorflow 和 Pytorch,Flux.jl 是否包含类似张量的结构?如果不是,构造数据的常用方法是什么?
来自Flux.jl docs:
The starting point for all of our models is the Array (sometimes referred to as a Tensor in other frameworks). This is really just a list of numbers, which might be arranged into a shape like a square.
鉴于此,表示数据的方式只是通过传统矩阵(只是数组)。您可以在此处找到有关 Julia 的第一个 class 数组支持的更多信息:https://docs.julialang.org/en/v1/manual/arrays/