QuantizedResizeBilinear

Stay organized with collections Save and categorize content based on your preferences.
public final class QuantizedResizeBilinear

Resize quantized `images` to `size` using quantized bilinear interpolation.

Input images and output images must be quantized types.

Nested Classes

class QuantizedResizeBilinear.Options Optional attributes for QuantizedResizeBilinear  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static QuantizedResizeBilinear.Options
alignCorners(Boolean alignCorners)
static <T extends TType> QuantizedResizeBilinear<T>
create(Scope scope, Operand<T> images, Operand<TInt32> size, Operand<TFloat32> min, Operand<TFloat32> max, Options... options)
Factory method to create a class wrapping a new QuantizedResizeBilinear operation.
static QuantizedResizeBilinear.Options
halfPixelCenters(Boolean halfPixelCenters)
Output<TFloat32>
outMax()
Output<TFloat32>
outMin()
Output<T>
resizedImages()
4-D with shape `[batch, new_height, new_width, channels]`.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "QuantizedResizeBilinear"

Public Methods

public static QuantizedResizeBilinear.Options alignCorners (Boolean alignCorners)

Parameters
alignCorners If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels. Defaults to false.

public static QuantizedResizeBilinear<T> create (Scope scope, Operand<T> images, Operand<TInt32> size, Operand<TFloat32> min, Operand<TFloat32> max, Options... options)

Factory method to create a class wrapping a new QuantizedResizeBilinear operation.

Parameters
scope current scope
images 4-D with shape `[batch, height, width, channels]`.
size = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The new size for the images.
options carries optional attributes values
Returns
  • a new instance of QuantizedResizeBilinear

public static QuantizedResizeBilinear.Options halfPixelCenters (Boolean halfPixelCenters)

public Output<TFloat32> outMax ()

public Output<TFloat32> outMin ()

public Output<T> resizedImages ()

4-D with shape `[batch, new_height, new_width, channels]`.