@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class QuantizedResizeBilinear extends Pointer
images
to size
using quantized bilinear interpolation.
Input images and output images must be quantized types.
Arguments:
* scope: A Scope object
* 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.
Optional attributes (see Attrs
):
* align_corners: 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:
* Output
resized_images: 4-D with shape
[batch, new_height, new_width, channels]
.
* Output
out_min
* Output
out_maxModifier and Type | Class and Description |
---|---|
static class |
QuantizedResizeBilinear.Attrs
Optional attribute setters for QuantizedResizeBilinear
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QuantizedResizeBilinear(Pointer p)
Pointer cast constructor.
|
QuantizedResizeBilinear(Scope scope,
Input images,
Input size,
Input min,
Input max) |
QuantizedResizeBilinear(Scope scope,
Input images,
Input size,
Input min,
Input max,
QuantizedResizeBilinear.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
static QuantizedResizeBilinear.Attrs |
AlignCorners(boolean x) |
static QuantizedResizeBilinear.Attrs |
HalfPixelCenters(boolean x) |
Operation |
operation() |
QuantizedResizeBilinear |
operation(Operation setter) |
Output |
out_max() |
QuantizedResizeBilinear |
out_max(Output setter) |
Output |
out_min() |
QuantizedResizeBilinear |
out_min(Output setter) |
Output |
resized_images() |
QuantizedResizeBilinear |
resized_images(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public QuantizedResizeBilinear(Pointer p)
Pointer(Pointer)
.public QuantizedResizeBilinear(@Const @ByRef Scope scope, @ByVal Input images, @ByVal Input size, @ByVal Input min, @ByVal Input max)
@ByVal public static QuantizedResizeBilinear.Attrs AlignCorners(@Cast(value="bool") boolean x)
@ByVal public static QuantizedResizeBilinear.Attrs HalfPixelCenters(@Cast(value="bool") boolean x)
public QuantizedResizeBilinear operation(Operation setter)
public QuantizedResizeBilinear resized_images(Output setter)
public QuantizedResizeBilinear out_min(Output setter)
public QuantizedResizeBilinear out_max(Output setter)
Copyright © 2022. All rights reserved.