Skip to content

Conversation

zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Feb 7, 2022

PR types

New features

PR changes

APIs

Describe

Related #39370

For example, bf16 tensor with data [[1,5, 1],[0, 0]]

  • before
Tensor(shape=[2, 2], dtype=uint16, place=Place(gpu:0), stop_gradient=True,
       [[16320, 16256],
        [0    , 0    ]])
  • after
Tensor(shape=[2, 2], dtype=bfloat16, place=Place(gpu:0), stop_gradient=True,
       [[1.50000000, 1.        ],
        [0.        , 0.        ]])

@paddle-bot-old
Copy link

paddle-bot-old bot commented Feb 7, 2022

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhiqiu zhiqiu requested a review from zhangbo9674 February 7, 2022 12:09
Copy link
Contributor

@zhangbo9674 zhangbo9674 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhiqiu zhiqiu merged commit f57b21e into PaddlePaddle:develop Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants