Searched refs:max_attempts_ (Results 1 – 1 of 1) sorted by relevance
251 OP_REQUIRES_OK(context, context->GetAttr("max_attempts", &max_attempts_)); in SampleDistortedBoundingBoxBaseOp()252 OP_REQUIRES(context, max_attempts_ > 0, in SampleDistortedBoundingBoxBaseOp()254 max_attempts_)); in SampleDistortedBoundingBoxBaseOp()356 for (int i = 0; i < max_attempts_; ++i) { in DoCompute()430 int32 max_attempts_; member in tensorflow::SampleDistortedBoundingBoxBaseOp449 generator_.ReserveSamples32(4 * this->max_attempts_)); in Compute()