/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 194 for (auto& stats_op : stats_ops) { in processRestrictScale() 195 auto values = stats_op.layerStats() in processRestrictScale() 213 for (auto& stats_op : stats_ops) { in processRestrictScale() 214 rewriter.setInsertionPointAfter(stats_op); in processRestrictScale() 216 stats_op, stats_op.arg(), layer_stats, axis_stats, axis); in processRestrictScale() 256 if (auto stats_op = in processInputs() local 258 if (failed(replaceStatsOp(op, stats_op, index, tensor_property, in processInputs() 335 SourceOp op, quant::StatisticsOp stats_op, int input_index, in replaceStatsOp() 338 if (tensor_property.state_tensor && !stats_op.getResult().hasOneUse()) { in replaceStatsOp() 345 auto stats = stats_op.layerStats().dyn_cast<DenseFPElementsAttr>(); in replaceStatsOp() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.cc | 627 [&](quant::StatisticsOp stats_op) { all_stats_ops.push_back(stats_op); }); in RemoveRedundantStatsOps() argument 630 quant::StatisticsOp stats_op = all_stats_ops.back(); in RemoveRedundantStatsOps() local 633 if (auto def = stats_op.arg().getDefiningOp()) { in RemoveRedundantStatsOps() 635 redundant_stats_ops.insert(stats_op); in RemoveRedundantStatsOps() 639 for (auto user : stats_op.getResult().getUsers()) { in RemoveRedundantStatsOps() 663 func.walk([&](quant::StatisticsOp stats_op) { in RemoveRedundantStatsOps() argument 664 if (redundant_stats_ops.find(stats_op) == redundant_stats_ops.end()) { in RemoveRedundantStatsOps() 665 all_stats_ops.push_back(stats_op); in RemoveRedundantStatsOps() 670 quant::StatisticsOp stats_op = all_stats_ops.back(); in RemoveRedundantStatsOps() local 673 if (auto def = stats_op.arg().getDefiningOp()) { in RemoveRedundantStatsOps() [all …]
|
D | import_quant_stats_pass.cc | 129 auto stats_op = b.create<quant::StatisticsOp>(b.getUnknownLoc(), res, in InsertStatsOpAtResult() local 131 res.replaceAllUsesWith(stats_op); in InsertStatsOpAtResult() 132 stats_op.getOperation()->replaceUsesOfWith(stats_op, res); in InsertStatsOpAtResult()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 564 GetQuantizationForQuantStatsOpOutput(mlir::quant::StatisticsOp stats_op); 1309 mlir::quant::StatisticsOp stats_op) { in GetQuantizationForQuantStatsOpOutput() argument 1310 auto layer_stats = stats_op.layerStats().cast<mlir::DenseFPElementsAttr>(); in GetQuantizationForQuantStatsOpOutput() 1311 Optional<mlir::ElementsAttr> axis_stats = stats_op.axisStats(); in GetQuantizationForQuantStatsOpOutput() 1312 Optional<uint64_t> axis = stats_op.axis(); in GetQuantizationForQuantStatsOpOutput() 1356 auto stats_op = in BuildSubGraph() local 1358 if (stats_op) { in BuildSubGraph() 1359 quant_parameters = GetQuantizationForQuantStatsOpOutput(stats_op); in BuildSubGraph() 1471 else if (auto stats_op = in BuildSubGraph() local 1474 operands.push_back(tensor_index_map.lookup(stats_op.arg())); in BuildSubGraph()
|
D | flatbuffer_import.cc | 513 if (auto stats_op = in BuildVariableOp() local 515 return stats_op; in BuildVariableOp() 1026 if (auto stats_op = in ConvertSubgraph() local 1028 vals_map[input_tensor] = stats_op->getResult(0); in ConvertSubgraph() 1124 if (auto stats_op = in ConvertSubgraph() local 1126 vals_map[output_tensor_index] = stats_op->getResult(0); in ConvertSubgraph()
|
/external/libpcap/ |
D | pcap-septel.c | 214 handle->stats_op = septel_stats; in septel_activate()
|
D | pcap-haiku.cpp | 157 handle->stats_op = pcap_stats_haiku; in pcap_activate_haiku()
|
D | pcap-bt-monitor-linux.c | 208 handle->stats_op = bt_monitor_stats; in bt_monitor_activate()
|
D | pcap-usb-linux.c | 726 handle->stats_op = usb_stats_linux_bin; in usb_activate() 754 handle->stats_op = usb_stats_linux_bin; in usb_activate() 823 handle->stats_op = usb_stats_linux; in usb_activate()
|
D | pcap-netmap.c | 274 p->stats_op = pcap_netmap_stats; in pcap_netmap_activate()
|
D | pcap-dbus.c | 235 handle->stats_op = dbus_stats; in dbus_activate()
|
D | pcap-int.h | 316 stats_op_t stats_op; member
|
D | pcap-nit.c | 360 p->stats_op = pcap_stats_nit; in pcap_activate_nit()
|
D | pcap-libdlpi.c | 247 p->stats_op = pcap_stats_dlpi; in pcap_activate_libdlpi()
|
D | pcap-snit.c | 449 p->stats_op = pcap_stats_snit; in pcap_activate_snit()
|
D | pcap-bt-linux.c | 225 handle->stats_op = bt_stats_linux; in bt_activate()
|
D | pcap-snoop.c | 411 p->stats_op = pcap_stats_snoop; in pcap_activate_snoop()
|
D | savefile.c | 561 p->stats_op = sf_stats; in pcap_fopen_offline_with_tstamp_precision()
|
D | pcap-pf.c | 525 p->stats_op = pcap_stats_pf; in pcap_activate_pf()
|
D | pcap-snf.c | 315 p->stats_op = snf_pcap_stats; in snf_activate()
|
D | pcap-rdmasniff.c | 308 handle->stats_op = rdmasniff_stats; in rdmasniff_activate()
|
D | pcap-netfilter-linux.c | 593 handle->stats_op = netfilter_stats_linux; in netfilter_activate()
|
D | pcap-airpcap.c | 911 p->stats_op = airpcap_stats; in airpcap_activate()
|
D | pcap.c | 2402 p->stats_op = pcap_stats_not_initialized; 3738 return (p->stats_op(p, ps)); 4381 p->stats_op = pcap_stats_dead;
|
D | pcap-dpdk.c | 941 p->stats_op = pcap_dpdk_stats; in pcap_dpdk_activate()
|