Home
last modified time | relevance | path

Searched refs:QuantizedRange (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dquantize_test.cc80 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()
Dquantize.h35 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/
Dxla_dequantize_op.cc42 xla::QuantizedRange range(min_range_, max_range_); in Compile()