/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
D | quantization_test.py | 68 trt_test.IsQuantizationMode(run_params.precision_mode) and 93 trt_test.IsQuantizationMode(run_params.precision_mode) and 102 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-01 106 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-01 121 run_params.precision_mode), "test non-INT8" 131 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-01 135 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-01
|
D | dynamic_input_shapes_test.py | 94 run_params.precision_mode)), "test dynamic engine and non-INT8" 98 return 1.e-03 if run_params.precision_mode == "FP32" else 1.e-01 102 return 1.e-03 if run_params.precision_mode == "FP32" else 1.e-01
|
D | tf_trt_integration_test_base.py | 104 return IsQuantizationMode(params.precision_mode) and params.use_calibration 281 precision_mode=run_params.precision_mode, 304 run_params.precision_mode)), "test either calibration or non-INT8" 316 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-02 320 return 1.e-05 if run_params.precision_mode == "FP32" else 1.e-02 467 precision_mode=conversion_params.precision_mode, 480 assert conversion_params.precision_mode == "INT8" 835 self._ToBytes(run_params.precision_mode), 1101 run_params.convert_online, run_params.precision_mode, 1111 for (precision_mode, convert_online, dynamic_engine, use_calibration) in opts: [all …]
|
D | const_broadcast_test.py | 57 return 1.e-04 if run_params.precision_mode == 'FP32' else 1.e-02 61 return 1.e-04 if run_params.precision_mode == 'FP32' else 1.e-02
|
D | reshape_transpose_test.py | 75 return (not trt_test.IsQuantizationMode(run_params.precision_mode) and 104 return (not trt_test.IsQuantizationMode(run_params.precision_mode) and
|
D | cast_test.py | 50 if run_params.precision_mode == "FP16":
|
D | memory_alignment_test.py | 64 return 1.e-06 if run_params.precision_mode == "FP32" else 1.e-02
|
D | lru_cache_test.py | 66 run_params.precision_mode)), "test dynamic engine and non-INT8"
|
D | base_test.py | 163 (run_params.precision_mode != "FP16") and 164 not (trt_test.IsQuantizationMode(run_params.precision_mode) and
|
D | combined_nms_test.py | 96 not trt_test.IsQuantizationMode(run_params.precision_mode)
|
D | quantization_mnist_test.py | 150 precision_mode='INT8',
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes.h | 97 precision_mode(TrtPrecisionMode::FP32), in EngineInfo() 115 TrtPrecisionMode precision_mode; member 148 const GraphDef& gdef, TrtPrecisionMode precision_mode, int max_batch_size, 364 TrtPrecisionMode precision_mode, bool use_calibration, 379 const TrtPrecisionMode precision_mode; member 393 TrtPrecisionMode precision_mode, bool use_calibration, 457 TrtPrecisionMode precision_mode, bool use_calibration, 494 TrtPrecisionMode precision_mode() const { return precision_mode_; } in precision_mode() function 610 Converter(TrtPrecisionMode precision_mode, bool use_calibration,
|
D | convert_graph.cc | 425 (info.precision_mode == TrtPrecisionMode::INT8 && info.use_calibration); in CreateTRTNode() 454 calibrate_int8 ? TrtPrecisionMode::FP32 : info.precision_mode, in CreateTRTNode() 466 TF_RETURN_IF_ERROR(TrtPrecisionModeToName(info.precision_mode, &prec_string)); in CreateTRTNode() 684 if (params.precision_mode != TrtPrecisionMode::INT8 && in ConvertAfterShapes() 706 if (params.precision_mode == TrtPrecisionMode::FP16) { in ConvertAfterShapes() 742 TrtNodeValidator validator(static_graph_properties, params.precision_mode, in ConvertAfterShapes() 777 curr_engine.precision_mode = params.precision_mode; in ConvertAfterShapes()
|
D | convert_graph.h | 40 TrtPrecisionMode precision_mode = TrtPrecisionMode::FP32; member
|
D | trt_optimization_pass.cc | 238 cp.precision_mode = precision_mode_; in Optimize()
|
D | convert_nodes.cc | 1104 TrtPrecisionMode precision_mode, bool use_calibration, in OpConverterParams() argument 1111 precision_mode(precision_mode), in OpConverterParams() 1125 precision_mode(converter->precision_mode()), in OpConverterParams() 1138 TrtPrecisionMode precision_mode, bool use_calibration, in TrtNodeValidator() argument 1141 precision_mode_(precision_mode), in TrtNodeValidator() 1243 TrtPrecisionMode precision_mode, bool use_calibration, in Create() argument 1247 new Converter(precision_mode, use_calibration, trt_logger, in Create() 1253 Converter::Converter(TrtPrecisionMode precision_mode, bool use_calibration, in Converter() argument 1257 : precision_mode_(precision_mode), in Converter() 1749 if (converter->precision_mode() == TrtPrecisionMode::INT8 && in PrepareTensorForShape() [all …]
|
D | convert_nodes_test.cc | 706 for (const TrtPrecisionMode precision_mode : in TEST() 708 TrtNodeValidator validator(graph_properties, precision_mode, in TEST() 723 if (precision_mode == TrtPrecisionMode::INT8) { in TEST() 1622 TrtNodeValidator validator(graph_properties, converter_->precision_mode(), in RunValidation()
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/ |
D | trt_convert.py | 157 precision_mode=TrtPrecisionMode.FP32, argument 163 cls).__new__(cls, max_workspace_size_bytes, precision_mode, 185 if conversion_params.precision_mode not in supported_precision_modes: 188 "It should be one of {}").format(conversion_params.precision_mode, 293 conversion_params.precision_mode) 379 precision_mode=TrtPrecisionMode.FP32, argument 452 precision_mode == TrtPrecisionMode.INT8 and use_calibration) 473 precision_mode=precision_mode, 960 conversion_params.precision_mode == TrtPrecisionMode.INT8 and 1241 precision_mode=TrtPrecisionMode.FP32, argument [all …]
|
D | trt_convert_windows.py | 84 precision_mode=TrtPrecisionMode.FP32, argument
|
D | trt_convert_test.py | 206 precision_mode=(trt_convert.TrtPrecisionMode.INT8 if need_calibration 354 precision_mode=trt_convert.TrtPrecisionMode.FP32) 382 precision_mode=trt_convert.TrtPrecisionMode.FP32, argument 389 precision_mode=precision_mode, 507 precision_mode=trt_convert.TrtPrecisionMode.INT8,
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/model_tests/ |
D | run_models.py | 151 for precision_mode in [ 156 precision_mode=precision_mode, 157 use_calibration=(precision_mode == trt.TrtPrecisionMode.INT8))
|
D | model_handler.py | 460 precision_mode=trt_convert_params.precision_mode, 476 if (self.trt_convert_params.precision_mode == trt.TrtPrecisionMode.INT8 and 525 if (self.trt_convert_params.precision_mode == trt.TrtPrecisionMode.INT8 and
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.experimental.tensorrt.-conversion-params.pbtxt | 23 name: "precision_mode"
|
/external/tensorflow/tensorflow/python/tools/ |
D | saved_model_cli.py | 783 precision_mode=args.precision_mode, 801 precision_mode=args.precision_mode,
|
/external/tensorflow/ |
D | RELEASE.md | 2215 * The `precision_mode` argument to `TrtGraphConverter` is now case
|