Home
last modified time | relevance | path

Searched refs:requantize_node (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes.cc427 NodeDef requantize_node; in ConvertFakeQuantsToRequantize() local
428 requantize_node.set_op("Requantize"); in ConvertFakeQuantsToRequantize()
429 requantize_node.set_name(namespace_prefix + "/requantize"); in ConvertFakeQuantsToRequantize()
430 SetNodeAttr("Tinput", DT_QINT32, &requantize_node); in ConvertFakeQuantsToRequantize()
431 SetNodeAttr("out_type", DT_QUINT8, &requantize_node); in ConvertFakeQuantsToRequantize()
432 AddNodeInput(quantize_node.name() + ":0", &requantize_node); in ConvertFakeQuantsToRequantize()
433 AddNodeInput(quantize_node.name() + ":1", &requantize_node); in ConvertFakeQuantsToRequantize()
434 AddNodeInput(quantize_node.name() + ":2", &requantize_node); in ConvertFakeQuantsToRequantize()
435 AddNodeInput(fake_quant_min_node.name(), &requantize_node); in ConvertFakeQuantsToRequantize()
436 AddNodeInput(fake_quant_max_node.name(), &requantize_node); in ConvertFakeQuantsToRequantize()
[all …]
Dfuse_quantized_convolution.cc63 const NodeDef& requantize_node = match.node; in FuseQuantizedConvolutionAndRequantize() local
64 CHECK_EQ("Requantize", requantize_node.op()); in FuseQuantizedConvolutionAndRequantize()