Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::ScaleAndTranslate::Attrs

#include <image_ops.h>

Optional attribute setters for ScaleAndTranslate.

Summary

Public attributes

antialias_ = true
bool
kernel_type_ = "lanczos3"
StringPiece

Public functions

Antialias(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to true.
KernelType(StringPiece x)
TF_MUST_USE_RESULT Attrs
Defaults to "lanczos3".

Public attributes

antialias_

bool tensorflow::ops::ScaleAndTranslate::Attrs::antialias_ = true

kernel_type_

StringPiece tensorflow::ops::ScaleAndTranslate::Attrs::kernel_type_ = "lanczos3"

Public functions

Antialias

TF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::Antialias(
  bool x
)

Defaults to true.

KernelType

TF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::KernelType(
  StringPiece x
)

Defaults to "lanczos3".