Home
last modified time | relevance | path

Searched refs:layer_stats (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dimport_quant_stats_pass.cc94 void InsertStatsOpAtResult(OpBuilder b, Value res, ElementsAttr layer_stats,
143 ElementsAttr layer_stats, in InsertStatsOpAtResult() argument
147 b.getUnknownLoc(), res, layer_stats, axis_stats, axis); in InsertStatsOpAtResult()
166 ElementsAttr layer_stats = DenseFPElementsAttr::get( in ImportAsStatsOps() local
180 InsertStatsOpAtResult(b, op->getResult(index), layer_stats, axis_stats, in ImportAsStatsOps()
185 InsertStatsOpAtResult(b, op->getResult(i), layer_stats, axis_stats, in ImportAsStatsOps()
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dquantization_debugger.ipynb383 "layer_stats = pd.read_csv(RESULTS_FILE)\n",
384 "layer_stats.head()"
416 "layer_stats['range'] = 255.0 * layer_stats['scale']\n",
417 "layer_stats['rmse/scale'] = layer_stats.apply(\n",
419 "layer_stats[['op_name', 'range', 'rmse/scale']].head()"
432 "ax1.bar(np.arange(len(layer_stats)), layer_stats['range'])\n",
435 "ax2.bar(np.arange(len(layer_stats)), layer_stats['rmse/scale'])\n",
458 "layer_stats[layer_stats['rmse/scale'] \u003e 0.7][[\n",
482 " layer_stats[layer_stats['rmse/scale'] \u003e 0.7]['tensor_name'])"
503 "suspected_layers.extend(list(layer_stats[:5]['tensor_name']))"
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/
Dconvert_custom_aggregation_op_to_quant_stats.cc89 ElementsAttr layer_stats = DenseFPElementsAttr::get( in matchAndRewrite() local
97 op, op->getOperand(0), layer_stats, axis_stats, axis); in matchAndRewrite()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_stats_impl.cc81 std::vector<VideoStatistics> layer_stats; in SliceAndCalcLayerVideoStatistic() local
96 layer_stats.push_back(layer_stat); in SliceAndCalcLayerVideoStatistic()
100 return layer_stats; in SliceAndCalcLayerVideoStatistic()
Dvideocodec_test_fixture_impl.cc536 std::vector<VideoStatistics> layer_stats = in AnalyzeAllFrames() local
539 for (const auto& layer_stat : layer_stats) { in AnalyzeAllFrames()
/external/webrtc/test/scenario/
Dstats_collection.h51 std::vector<VideoQualityStats> layer_stats() const;
Dstats_collection.cc60 std::vector<VideoQualityStats> VideoQualityAnalyzer::layer_stats() const { in layer_stats() function in webrtc::test::VideoQualityAnalyzer
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dtfl_legalize_patterns.td39 def ConvertQuantStatOp : Pat<(quantfork_StatisticsOp $value, $layer_stats, $axis_stats, $axis),
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h208 mlir::ElementsAttr layer_stats = mlir::DenseFPElementsAttr::get( in processRestrictScale() local
217 stats_op, stats_op.getArg(), layer_stats, axis_stats, axis); in processRestrictScale()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc295 mlir::ElementsAttr layer_stats = mlir::DenseFPElementsAttr::get( in ConvertMinMaxToStatsOp() local
310 layer_stats, axis_stats, axis); in ConvertMinMaxToStatsOp()
Dflatbuffer_export.cc1426 auto layer_stats = stats_op.getLayerStats().cast<mlir::DenseFPElementsAttr>(); in GetQuantizationForQuantStatsOpOutput() local
1433 : layer_stats; in GetQuantizationForQuantStatsOpOutput()