@Operator(group="image") public final class ResizeBilinear extends PrimitiveOp implements Operand<java.lang.Float>
Input images can be of different types but output images are always float.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ResizeBilinear.Options |
Optional attributes for
ResizeBilinear |
operation| Modifier and Type | Method | Description |
|---|---|---|
static ResizeBilinear.Options |
alignCorners(java.lang.Boolean alignCorners) |
|
Output<java.lang.Float> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static <T extends java.lang.Number> |
create(Scope scope,
Operand<T> images,
Operand<java.lang.Integer> size,
ResizeBilinear.Options... options) |
Factory method to create a class to wrap a new ResizeBilinear operation to the graph.
|
Output<java.lang.Float> |
resizedImages() |
4-D with shape
`[batch, new_height, new_width, channels]`.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static <T extends java.lang.Number> ResizeBilinear create(Scope scope, Operand<T> images, Operand<java.lang.Integer> size, ResizeBilinear.Options... options)
scope - current graph scopeimages - 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 valuespublic static ResizeBilinear.Options alignCorners(java.lang.Boolean alignCorners)
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 Output<java.lang.Float> resizedImages()
public Output<java.lang.Float> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<java.lang.Float>OperationBuilder.addInput(Output)