Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/examples/android/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.py903 width_diff = target_width - width
904 offset_crop_width = max_(-width_diff // 2, 0)
905 offset_pad_width = max_(width_diff // 2, 0)