tensorflow:: ops:: CropAndResizeGradBoxes

#include <image_ops.h>

入力ボックステンソルに対する crop_and_resize 操作の勾配を計算します。

まとめ

議論:

  • スコープ:スコープオブジェクト
  • grads: [num_boxes, crop_height, crop_width, depth]の形状を持つ 4 次元テンソル。
  • image: [batch, image_height, image_width, depth]の形状を持つ 4 次元テンソル。image_height とimage_height image_width両方とも正の値である必要があります。
  • boxes: 形状が[num_boxes, 4]の 2 次元テンソル。テンソルのi番目の行は、 box_ind[i]画像内のボックスの座標を指定し、正規化座標[y1, x1, y2, x2]で指定されます。正規化座標値yはy * (image_height - 1)の画像座標にマッピングされるため、正規化画像高さの[0, 1]区間は、画像高さ座標の `[0, image_height - 1] にマッピングされます。y1 > y2 も許可され、その場合、サンプリングされた切り抜きは元の画像の上下反転バージョンになります。幅の次元も同様に扱われます。正規化座標が[0, 1]の範囲外の場合も許可され、その場合はextrapolation_valueを使用して入力画像値を外挿します。
  • box_ind: [num_boxes]の形状を持つ 1 次元テンソルで、int32 型の値は[0, batch)の範囲です。box_ind box_ind[i]の値は、 i番目のボックスが参照する画像を指定します。

オプション属性( Attrs参照):

  • method: 補間方法を指定する文字列。現時点では「bilinear」のみがサポートされています。

返品:

  • Output : 形状が[num_boxes, 4]の 2 次元テンソル。

コンストラクターとデストラクタ

CropAndResizeGradBoxes (const :: tensorflow::Scope & scope, :: tensorflow::Input grads, :: tensorflow::Input image, :: tensorflow::Input boxes, :: tensorflow::Input box_ind)
CropAndResizeGradBoxes (const :: tensorflow::Scope & scope, :: tensorflow::Input grads, :: tensorflow::Input image, :: tensorflow::Input boxes, :: tensorflow::Input box_ind, const CropAndResizeGradBoxes::Attrs & attrs)

公開属性

operation
output

公的機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

パブリック静的関数

Method (StringPiece x)

構造

tensorflow:: ops:: CropAndResizeGradBoxes:: Attrs

CropAndResizeGradBoxesのオプション属性設定子。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

卒業ボックスの切り抜きとサイズ変更

 CropAndResizeGradBoxes(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input grads,
  ::tensorflow::Input image,
  ::tensorflow::Input boxes,
  ::tensorflow::Input box_ind
)

卒業ボックスの切り抜きとサイズ変更

 CropAndResizeGradBoxes(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input grads,
  ::tensorflow::Input image,
  ::tensorflow::Input boxes,
  ::tensorflow::Input box_ind,
  const CropAndResizeGradBoxes::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

方法

Attrs Method(
  StringPiece x
)