Class QuantizedResizeBilinear<T extends TNumber>
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.image.QuantizedResizeBilinear<T>
- All Implemented Interfaces:
Op
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQuantizedResizeBilinear.Inputs<T extends TNumber>static classOptional attributes forQuantizedResizeBilinear -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalignCorners(Boolean alignCorners) Sets the alignCorners option.static <T extends TNumber>
QuantizedResizeBilinear<T> create(Scope scope, Operand<T> images, Operand<TInt32> sizeOutput, Operand<TFloat32> min, Operand<TFloat32> max, QuantizedResizeBilinear.Options... options) Factory method to create a class wrapping a new QuantizedResizeBilinear operation.halfPixelCenters(Boolean halfPixelCenters) Sets the halfPixelCenters option.outMax()Gets outMax.outMin()Gets outMin.Gets resizedImages. 4-D with shape[batch, new_height, new_width, channels].
-
Field Details
-
OP_NAME
The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
QuantizedResizeBilinear
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public static <T extends TNumber> QuantizedResizeBilinear<T> create(Scope scope, Operand<T> images, Operand<TInt32> sizeOutput, Operand<TFloat32> min, Operand<TFloat32> max, QuantizedResizeBilinear.Options... options) Factory method to create a class wrapping a new QuantizedResizeBilinear operation.- Type Parameters:
T- data type forQuantizedResizeBilinearoutput and operands- Parameters:
scope- current scopeimages- 4-D with shape[batch, height, width, channels].sizeOutput- = A 1-D int32 Tensor of 2 elements:new_height, new_width. The new size for the images.min- The min valuemax- The max valueoptions- carries optional attribute values- Returns:
- a new instance of QuantizedResizeBilinear
-
alignCorners
Sets the alignCorners option.- 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.- Returns:
- this Options instance.
-
halfPixelCenters
Sets the halfPixelCenters option.- Parameters:
halfPixelCenters- the halfPixelCenters option- Returns:
- this Options instance.
-
resizedImages
-
outMin
-
outMax
-