Searched refs:QuantizedRange (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | quantize_test.cc | 80 Array2D<NativeT> &input, const QuantizedRange &range, in GenerateLargeSizeMinCombinedOutput() 129 std::vector<bfloat16> GenerateMinCombinedOutput(const QuantizedRange &range) { in GenerateMinCombinedOutput() 186 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 196 QuantizedRange range(0, 127.0f); in XLA_TEST_F() 214 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 237 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 262 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 292 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 314 QuantizedRange range(0, 255.0f); in XLA_TEST_F() 328 QuantizedRange range(0, 255.0f); in XLA_TEST_F()
|
D | quantize.h | 35 struct QuantizedRange { struct 36 QuantizedRange() = default; 37 QuantizedRange(float min_in, float max_in) : min(min_in), max(max_in) {} in QuantizedRange() function 39 bool operator==(const QuantizedRange& rhs) const { 43 bool operator!=(const QuantizedRange& rhs) const { return !(*this == rhs); } 82 inline XlaOp Dequantize(XlaOp input, const QuantizedRange& range,
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | xla_dequantize_op.cc | 42 xla::QuantizedRange range(min_range_, max_range_); in Compile()
|