@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class MaxPoolV2 extends Pointer
Attrs
):
* data_format: Specify the data format of the input and output data. With the
default format "NHWC", the data is stored in the order of:
[batch, in_height, in_width, in_channels].
Alternatively, the format could be "NCHW", the data storage order of:
[batch, in_channels, in_height, in_width].
Returns:
* Output
: The max pooled output tensor.Modifier and Type | Class and Description |
---|---|
static class |
MaxPoolV2.Attrs
Optional attribute setters for MaxPoolV2
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MaxPoolV2(Pointer p)
Pointer cast constructor.
|
MaxPoolV2(Scope scope,
Input input,
Input ksize,
Input strides,
BytePointer padding) |
MaxPoolV2(Scope scope,
Input input,
Input ksize,
Input strides,
BytePointer padding,
MaxPoolV2.Attrs attrs) |
MaxPoolV2(Scope scope,
Input input,
Input ksize,
Input strides,
String padding) |
MaxPoolV2(Scope scope,
Input input,
Input ksize,
Input strides,
String padding,
MaxPoolV2.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static MaxPoolV2.Attrs |
DataFormat(BytePointer x) |
static MaxPoolV2.Attrs |
DataFormat(String x) |
Node |
node() |
Operation |
operation() |
MaxPoolV2 |
operation(Operation setter) |
Output |
output() |
MaxPoolV2 |
output(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 MaxPoolV2(Pointer p)
Pointer(Pointer)
.public MaxPoolV2(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input ksize, @ByVal Input strides, @tensorflow.StringPiece BytePointer padding)
public MaxPoolV2(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input ksize, @ByVal Input strides, @tensorflow.StringPiece String padding)
public MaxPoolV2(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input ksize, @ByVal Input strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPoolV2.Attrs attrs)
public Node node()
@ByVal public static MaxPoolV2.Attrs DataFormat(@tensorflow.StringPiece BytePointer x)
@ByVal public static MaxPoolV2.Attrs DataFormat(@tensorflow.StringPiece String x)
Copyright © 2022. All rights reserved.