tensorflow::ops::ScaleAndTranslate::Attrs
#include <image_ops.h>
Дополнительные атрибуты для ScaleAndTranslate.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
antialias_ = true | bool |
kernel_type_ = "lanczos3" | StringPiece |
| Общедоступные функции | |
|---|---|
Antialias(bool x) | TF_MUST_USE_RESULT Attrs По умолчанию true. |
KernelType(StringPiece x) | TF_MUST_USE_RESULT Attrs По умолчанию "lanczos3". |
Общедоступные атрибуты
antialias_
bool tensorflow::ops::ScaleAndTranslate::Attrs::antialias_ = true
kernel_type_
StringPiece tensorflow::ops::ScaleAndTranslate::Attrs::kernel_type_ = "lanczos3"
Общедоступные функции
Antialias
TF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::Antialias( bool x )
По умолчанию true.
KernelType
TF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::KernelType( StringPiece x )
По умолчанию "lanczos3".
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/scale-and-translate/attrs