Skip to content

Make Reactant.RArray a subtype of DenseVector #1695

@albertomercurio

Description

@albertomercurio

I have noticed that the Reactant.RArray is not a subtype of a DenseVector

julia> supertypes(typeof(dx))
(ConcretePJRTArray{Float64, 1, 1, Reactant.Sharding.ShardInfo{Reactant.Sharding.NoSharding, Nothing}}, Reactant.AbstractConcreteArray{Float64, 1}, Reactant.RArray{Float64, 1}, AbstractVector{Float64}, Any)

Is there a reason for this?

It would help a lot in the implementation of generic methods to have it as a subtype of DenseVector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions