tensorflow::ops::CropAndResize::Attrs

tensorflow::ops::CropAndResize::Attrs

#include <image_ops.h>

Optional attribute setters for CropAndResize.

Summary

Public attributes
extrapolation_value_ = 0.0f
float
method_ = "bilinear"
StringPiece
Public functions
ExtrapolationValue(float x)
Value used for extrapolation, when applicable.
Method(StringPiece x)
A string specifying the interpolation method.

Public attributes

extrapolation_value_

float tensorflow::ops::CropAndResize::Attrs::extrapolation_value_ = 0.0f

method_

StringPiece tensorflow::ops::CropAndResize::Attrs::method_ = "bilinear"

Public functions

ExtrapolationValue

Attrs tensorflow::ops::CropAndResize::Attrs::ExtrapolationValue(
  float x
)

Value used for extrapolation, when applicable.

Defaults to 0

Method

Attrs tensorflow::ops::CropAndResize::Attrs::Method(
  StringPiece x
)

A string specifying the interpolation method.

Only 'bilinear' is supported for now.

Defaults to "bilinear"

© 2017 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/api_docs/cc/struct/tensorflow/ops/crop-and-resize/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部