Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dgeom.h305 const float width_diff = (original_box.GetWidth() - size) / 2.0f; in GetCenteredSquare() local
307 return BoundingSquare(original_box.left_ + width_diff, in GetCenteredSquare()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py1270 width_diff = target_width - width
1271 offset_crop_width = max_(-width_diff // 2, 0)
1272 offset_pad_width = max_(width_diff // 2, 0)
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc2444 const int width_diff = output_width - trt_output_shape.d[2]; in ConvertConv2DHelper() local
2445 if ((height_diff < 0) || (width_diff < 0)) { in ConvertConv2DHelper()
2456 if ((height_diff > 0) || (width_diff > 0)) { in ConvertConv2DHelper()
2458 nvinfer1::DimsHW post_padding(height_diff, width_diff); in ConvertConv2DHelper()