@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class MaxPool 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 |
MaxPool.Attrs
Optional attribute setters for MaxPool
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MaxPool(Pointer p)
Pointer cast constructor.
|
MaxPool(Scope scope,
Input input,
int[] ksize,
int[] strides,
BytePointer padding) |
MaxPool(Scope scope,
Input input,
int[] ksize,
int[] strides,
BytePointer padding,
MaxPool.Attrs attrs) |
MaxPool(Scope scope,
Input input,
int[] ksize,
int[] strides,
String padding) |
MaxPool(Scope scope,
Input input,
int[] ksize,
int[] strides,
String padding,
MaxPool.Attrs attrs) |
MaxPool(Scope scope,
Input input,
IntBuffer ksize,
IntBuffer strides,
BytePointer padding) |
MaxPool(Scope scope,
Input input,
IntBuffer ksize,
IntBuffer strides,
BytePointer padding,
MaxPool.Attrs attrs) |
MaxPool(Scope scope,
Input input,
IntBuffer ksize,
IntBuffer strides,
String padding) |
MaxPool(Scope scope,
Input input,
IntBuffer ksize,
IntBuffer strides,
String padding,
MaxPool.Attrs attrs) |
MaxPool(Scope scope,
Input input,
IntPointer ksize,
IntPointer strides,
BytePointer padding) |
MaxPool(Scope scope,
Input input,
IntPointer ksize,
IntPointer strides,
BytePointer padding,
MaxPool.Attrs attrs) |
MaxPool(Scope scope,
Input input,
IntPointer ksize,
IntPointer strides,
String padding) |
MaxPool(Scope scope,
Input input,
IntPointer ksize,
IntPointer strides,
String padding,
MaxPool.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static MaxPool.Attrs |
DataFormat(BytePointer x) |
static MaxPool.Attrs |
DataFormat(String x) |
Node |
node() |
Operation |
operation() |
MaxPool |
operation(Operation setter) |
Output |
output() |
MaxPool |
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 MaxPool(Pointer p)
Pointer(Pointer)
.public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece BytePointer padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece String padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece BytePointer padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece String padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece BytePointer padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece String padding)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPool.Attrs attrs)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPool.Attrs attrs)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPool.Attrs attrs)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPool.Attrs attrs)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPool.Attrs attrs)
public MaxPool(@Const @ByRef Scope scope, @ByVal Input input, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPool.Attrs attrs)
public Node node()
@ByVal public static MaxPool.Attrs DataFormat(@tensorflow.StringPiece BytePointer x)
@ByVal public static MaxPool.Attrs DataFormat(@tensorflow.StringPiece String x)
Copyright © 2022. All rights reserved.