tf.raw_ops.QuantizedReshape
Stay organized with collections
Save and categorize content based on your preferences.
Reshapes a quantized tensor as per the Reshape op.
tf.raw_ops.QuantizedReshape(
tensor, shape, input_min, input_max, name=None
)
<!-- Tabular view -->
<table class="responsive fixed orange">
<colgroup><col width="214px"><col></colgroup>
<tr><th colspan="2"><h2 class="add-link">Args</h2></th></tr>
<tr>
<td>
`tensor`<a id="tensor"></a>
</td>
<td>
A `Tensor`.
</td>
</tr><tr>
<td>
`shape`<a id="shape"></a>
</td>
<td>
A `Tensor`. Must be one of the following types: `int32`, `int64`.
Defines the shape of the output tensor.
</td>
</tr><tr>
<td>
`input_min`<a id="input_min"></a>
</td>
<td>
A `Tensor` of type `float32`. The minimum value of the input.
</td>
</tr><tr>
<td>
`input_max`<a id="input_max"></a>
</td>
<td>
A `Tensor` of type `float32`. The maximum value of the input.
</td>
</tr><tr>
<td>
`name`<a id="name"></a>
</td>
<td>
A name for the operation (optional).
</td>
</tr>
</table>
<!-- Tabular view -->
<table class="responsive fixed orange">
<colgroup><col width="214px"><col></colgroup>
<tr><th colspan="2"><h2 class="add-link">Returns</h2></th></tr>
<tr class="alt">
<td colspan="2">
A tuple of `Tensor` objects (output, output_min, output_max).
</td>
</tr>
<tr>
<td>
`output`<a id="output"></a>
</td>
<td>
A `Tensor`. Has the same type as `tensor`.
</td>
</tr><tr>
<td>
`output_min`<a id="output_min"></a>
</td>
<td>
A `Tensor` of type `float32`.
</td>
</tr><tr>
<td>
`output_max`<a id="output_max"></a>
</td>
<td>
A `Tensor` of type `float32`.
</td>
</tr>
</table>
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. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# tf.raw_ops.QuantizedReshape\n\n\u003cbr /\u003e\n\nReshapes a quantized tensor as per the Reshape op.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.raw_ops.QuantizedReshape`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedReshape)\n\n\u003cbr /\u003e\n\n tf.raw_ops.QuantizedReshape(\n tensor, shape, input_min, input_max, name=None\n )\n\n\n \u003c!-- Tabular view --\u003e\n \u003ctable class=\"responsive fixed orange\"\u003e\n \u003ccolgroup\u003e\u003ccol width=\"214px\"\u003e\u003ccol\u003e\u003c/colgroup\u003e\n \u003ctr\u003e\u003cth colspan=\"2\"\u003e\u003ch2 class=\"add-link\"\u003eArgs\u003c/h2\u003e\u003c/th\u003e\u003c/tr\u003e\n\n \u003ctr\u003e\n \u003ctd\u003e\n `tensor`\u003ca id=\"tensor\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor`.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `shape`\u003ca id=\"shape\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor`. Must be one of the following types: `int32`, `int64`.\n Defines the shape of the output tensor.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `input_min`\u003ca id=\"input_min\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor` of type `float32`. The minimum value of the input.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `input_max`\u003ca id=\"input_max\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor` of type `float32`. The maximum value of the input.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `name`\u003ca id=\"name\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A name for the operation (optional).\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003c/table\u003e\n\n\n\n \u003c!-- Tabular view --\u003e\n \u003ctable class=\"responsive fixed orange\"\u003e\n \u003ccolgroup\u003e\u003ccol width=\"214px\"\u003e\u003ccol\u003e\u003c/colgroup\u003e\n \u003ctr\u003e\u003cth colspan=\"2\"\u003e\u003ch2 class=\"add-link\"\u003eReturns\u003c/h2\u003e\u003c/th\u003e\u003c/tr\u003e\n \u003ctr class=\"alt\"\u003e\n \u003ctd colspan=\"2\"\u003e\n A tuple of `Tensor` objects (output, output_min, output_max).\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003e\n `output`\u003ca id=\"output\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor`. Has the same type as `tensor`.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `output_min`\u003ca id=\"output_min\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor` of type `float32`.\n \u003c/td\u003e\n \u003c/tr\u003e\u003ctr\u003e\n \u003ctd\u003e\n `output_max`\u003ca id=\"output_max\"\u003e\u003c/a\u003e\n \u003c/td\u003e\n \u003ctd\u003e\n A `Tensor` of type `float32`.\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003c/table\u003e"]]