Skip to content

A bug in the function convert_to_fp32() #172

@xyh97

Description

@xyh97

Hi, recently I found that there might be a bug in the function convert_to_fp32().

return recursively_apply(_is_fp16_tensor, tensor, test_type=_is_fp16_tensor)

I think the correct one should be
return recursively_apply(_convert_to_fp32, tensor, test_type=_is_fp16_tensor)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions