Searched refs:aspect_ratio_range_ (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | sample_distorted_bounding_box_op.cc | 225 context, context->GetAttr("aspect_ratio_range", &aspect_ratio_range_)); in SampleDistortedBoundingBoxBaseOp() 226 OP_REQUIRES(context, aspect_ratio_range_.size() == 2, in SampleDistortedBoundingBoxBaseOp() 231 context, aspect_ratio_range_[0] > 0 && aspect_ratio_range_[1] > 0, in SampleDistortedBoundingBoxBaseOp() 233 aspect_ratio_range_[0], ", ", in SampleDistortedBoundingBoxBaseOp() 234 aspect_ratio_range_[1], "]")); in SampleDistortedBoundingBoxBaseOp() 348 const float min_sample_aspect_ratio = aspect_ratio_range_[0]; in DoCompute() 349 const float max_sample_aspect_ratio = aspect_ratio_range_[1]; in DoCompute() 432 std::vector<float> aspect_ratio_range_; member in tensorflow::SampleDistortedBoundingBoxBaseOp
|