Skip to content

Allow specifying shape of dtyped tensor constructors #835

Open
@ricardoV94

Description

@ricardoV94

dvector hardcodes shape=(None,). Would be nicer to make it a partial of vector with the fixed dtype to still allow providing a specific static shape if the user wants to

cvector = TensorType("complex64", shape=(None,))
zvector = TensorType("complex128", shape=(None,))
fvector = TensorType("float32", shape=(None,))
dvector = TensorType("float64", shape=(None,))
bvector = TensorType("int8", shape=(None,))
wvector = TensorType("int16", shape=(None,))
ivector = TensorType("int32", shape=(None,))
lvector = TensorType("int64", shape=(None,))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions