 tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs #include <image_ops.h> Optional attribute setters for SampleDistortedBoundingBoxV2.  Summary    Public attributes     area_range_ = Default_area_range()    gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float >      aspect_ratio_range_ = Default_aspect_ratio_range()    gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float >      max_attempts_ = 100    int64      seed2_ = 0    int64      seed_ = 0    int64      use_image_if_no_bounding_boxes_ = false    bool        Public functions     AreaRange(const gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > & x)    TF_MUST_USE_RESULT Attrs  The cropped area of the image must contain a fraction of the supplied image within this range.      AspectRatioRange(const gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > & x)    TF_MUST_USE_RESULT Attrs  The cropped area of the image must have an aspect ratio = width / height within this range.      MaxAttempts(int64 x)    TF_MUST_USE_RESULT Attrs  Number of attempts at generating a cropped region of the image of the specified constraints.      Seed(int64 x)    TF_MUST_USE_RESULT Attrs  If either seed or seed2 are set to non-zero, the random number generator is seeded by the given seed.      Seed2(int64 x)    TF_MUST_USE_RESULT Attrs  A second seed to avoid seed collision.      UseImageIfNoBoundingBoxes(bool x)    TF_MUST_USE_RESULT Attrs  Controls behavior if no bounding boxes supplied.     Public attributes  area_range_ gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069rea_range_ = Default_area_range()   aspect_ratio_range_ gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069spect_ratio_range_ = Default_aspect_ratio_range()   max_attempts_ int64 tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069max_attempts_ = 100   seed2_ int64 tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069seed2_ = 0   seed_ int64 tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069seed_ = 0   use_image_if_no_bounding_boxes_ bool tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069use_image_if_no_bounding_boxes_ = false  Public functions  AreaRange TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069reaRange(
  const gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > & x
)  The cropped area of the image must contain a fraction of the supplied image within this range.  Defaults to [0.05, 1]     AspectRatioRange TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069spectRatioRange(
  const gtl8b7c:f320:99b9:690f:4595:cd17:293a:c069rraySlice< float > & x
)  The cropped area of the image must have an aspect ratio = width / height within this range.  Defaults to [0.75, 1.33]     MaxAttempts TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069MaxAttempts(
  int64 x
)  Number of attempts at generating a cropped region of the image of the specified constraints.  After max_attempts failures, return the entire image. Defaults to 100     Seed TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069Seed(
  int64 x
)  If either seed or seed2 are set to non-zero, the random number generator is seeded by the given seed.  Otherwise, it is seeded by a random seed. Defaults to 0     Seed2 TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069Seed2(
  int64 x
)  A second seed to avoid seed collision.  Defaults to 0     UseImageIfNoBoundingBoxes TF_MUST_USE_RESULT Attrs tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SampleDistortedBoundingBoxV8b7c:f320:99b9:690f:4595:cd17:293a:c069Attrs8b7c:f320:99b9:690f:4595:cd17:293a:c069UseImageIfNoBoundingBoxes(
  bool x
)  Controls behavior if no bounding boxes supplied.  If true, assume an implicit bounding box covering the whole input. If false, raise an error. Defaults to false     

    
{'path': 'public/docs/tensorflow_cpp~2.4/struct/tensorflow/ops/sample-distorted-bounding-box-v2/attrs.html', 'source': 'DevDocs.IO'}