Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Validate the rank and number of elements of the
num_bits tensor for…
… QuantizeAndDequantizeV3. QuantizeAndDequantizeV3Op, which accepts `num_bits` as a tensor, has a precondition that it should be rank <= 1 and the number of elements should be 1. This change adds a validation for the Compute() method for this condition. PiperOrigin-RevId: 463755293
- Loading branch information