tfr.utils.reshape_to_2d
Stay organized with collections
Save and categorize content based on your preferences.
Converts the given tensor
to a 2-D Tensor
.
tfr.utils.reshape_to_2d(
tensor
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-08-18 UTC.
[null,null,["Last updated 2023-08-18 UTC."],[],[],null,["# tfr.utils.reshape_to_2d\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/ranking/blob/v0.5.3/tensorflow_ranking/python/utils.py#L259-L269) |\n\nConverts the given `tensor` to a 2-D `Tensor`. \n\n tfr.utils.reshape_to_2d(\n tensor\n )"]]