Skip to content

expose impl ElemTypeOf for NotNan #9

@jacobrosenthal

Description

@jacobrosenthal

Amazing work.

I ran into the same Ord on float problem with a similar solution to yours

        let index = output_tensor
            .as_data::<NotNan<f32>>()
            .iter()
            .position_max()
            .unwrap();

But it doesnt look like you expose your impl ElemTypeOf for NotNan. Can we pub something to expose that?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions