QuantizedResizeBilinear

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

org.tensorflow.op.RawOp
final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single Operation.
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
org.tensorflow.op.Op
abstract ExecutionEnvironment
env()
Return the execution environment this op was created in.
abstract Operation
op()
Return this unit of computation as a single Operation.

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]`.