Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ScaleAndTranslate::Attrs
#include <image_ops.h>
Optional attribute setters for ScaleAndTranslate.
Summary
Public functions
|
Antialias(bool x)
|
Defaults to true.
|
KernelType(StringPiece x)
|
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
)
KernelType
TF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::KernelType(
StringPiece x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::ScaleAndTranslate::Attrs Struct Reference\n\ntensorflow::ops::ScaleAndTranslate::Attrs\n=========================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [ScaleAndTranslate](/api_docs/cc/class/tensorflow/ops/scale-and-translate#classtensorflow_1_1ops_1_1_scale_and_translate).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [antialias_](#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs_1a814f5f8841dfb151ef12a422aa459958)` = true` | `bool` |\n| [kernel_type_](#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs_1ade21a4b03c7f0d88095920e7db877df3)` = \"lanczos3\"` | `StringPiece` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Antialias](#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs_1aed3f62f4ef3dea964bdeffb272bbd2e7)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/scale-and-translate/attrs#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs) Defaults to true. |\n| [KernelType](#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs_1a486f15e7171e4febf2fb2ec638d1e389)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/scale-and-translate/attrs#structtensorflow_1_1ops_1_1_scale_and_translate_1_1_attrs) Defaults to \"lanczos3\". |\n\nPublic attributes\n-----------------\n\n### antialias_\n\n```scdoc\nbool tensorflow::ops::ScaleAndTranslate::Attrs::antialias_ = true\n``` \n\n### kernel_type_\n\n```carbon\nStringPiece tensorflow::ops::ScaleAndTranslate::Attrs::kernel_type_ = \"lanczos3\"\n``` \n\nPublic functions\n----------------\n\n### Antialias\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::Antialias(\n bool x\n)\n``` \nDefaults to true. \n\n### KernelType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ScaleAndTranslate::Attrs::KernelType(\n StringPiece x\n)\n``` \nDefaults to \"lanczos3\"."]]