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".

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/scale-and-translate/attrs