Skip to content

Conversation

@zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Nov 11, 2020

PR types

Others

PR changes

APIs

Describe

Refine the format of printing tensor 3 (support scaler tensor)

print(paddle.to_tensor(np.array(False)))

Tensor(shape=[], dtype=bool, place=CPUPlace, stop_gradient=True,
       False)

@paddle-bot-old
Copy link

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

@zhiqiu zhiqiu merged commit 543ff33 into PaddlePaddle:develop Nov 11, 2020
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