tensorflow:: ops:: ResizeBicubic

#include <image_ops.h>

Zmiana size images przy użyciu interpolacji bisześciennej.

Streszczenie

Obrazy wejściowe mogą być różnych typów, ale obrazy wyjściowe są zawsze typu float.

Argumenty:

  • zakres: obiekt zakresu
  • obrazy: 4-D z kształtem [batch, height, width, channels] .
  • rozmiar: = Jednowymiarowy int32 Tensor 2 elementów: new_height, new_width . Nowy rozmiar obrazów.

Atrybuty opcjonalne (patrz Attrs ):

  • align_corners: Jeśli wartość true, środki 4 narożnych pikseli tensora wejściowego i wyjściowego są wyrównywane, zachowując wartości w narożnych pikselach. Domyślnie false.

Zwroty:

  • Output : 4-D z kształtem [batch, new_height, new_width, channels] .

Konstruktory i destruktory

ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size)
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBicubic::Attrs & attrs)

Atrybuty publiczne

operation
resized_images

Funkcje publiczne

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

Publiczne funkcje statyczne

AlignCorners (bool x)
HalfPixelCenters (bool x)

Struktury

tensorflow:: ops:: ResizeBicubic:: Attrs

Opcjonalne settery atrybutów dla ResizeBicubic .

Atrybuty publiczne

działanie

Operation operation

obrazy o zmienionym rozmiarze

::tensorflow::Output resized_images

Funkcje publiczne

Zmień rozmiar na dwusześcienny

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size
)

Zmień rozmiar na dwusześcienny

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  const ResizeBicubic::Attrs & attrs
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Wyrównaj narożniki

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)