Searched refs:area_range_ (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | sample_distorted_bounding_box_op.cc | 236 OP_REQUIRES_OK(context, context->GetAttr("area_range", &area_range_)); in SampleDistortedBoundingBoxBaseOp() 238 context, area_range_.size() == 2, in SampleDistortedBoundingBoxBaseOp() 242 context, area_range_[0] > 0 && area_range_[1] > 0, in SampleDistortedBoundingBoxBaseOp() 244 area_range_[0], ", ", area_range_[1], "]")); in SampleDistortedBoundingBoxBaseOp() 246 OP_REQUIRES(context, area_range_[0] <= 1 && area_range_[1] <= 1, in SampleDistortedBoundingBoxBaseOp() 249 area_range_[0], ", ", area_range_[1], "]")); in SampleDistortedBoundingBoxBaseOp() 346 const float min_sample_area = area_range_[0]; in DoCompute() 347 const float max_sample_area = area_range_[1]; in DoCompute() 431 std::vector<float> area_range_; member in tensorflow::SampleDistortedBoundingBoxBaseOp
|