Skip to content

Datatype conversion #2559

@wangjiawen2013

Description

@wangjiawen2013

Hi,
This is a snapshot from https://github.com/tracel-ai/burn/blob/main/examples/custom-image-dataset/src/data.rs
image
The conversion is too complicated and cause confusions to users who are not familiar with burn. I converted the datatype of TensorData like this and got the same results
image

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