@Namespace(value="tensorflow::ops::internal") @NoOffset @Properties(inherit=tensorflow.class) public class MaxPoolGradWithArgmax extends Pointer
[batch, height, width, channels]
. Gradients w.r.t. the
output of max_pool
.
* argmax: The indices of the maximum values chosen for each output of max_pool
.
* ksize: The size of the window for each dimension of the input tensor.
* strides: The stride of the sliding window for each dimension of the
input tensor.
* padding: The type of padding algorithm to use.
Optional attributes (see Attrs
):
* include_batch_in_index: Whether to include batch dimension in flattened index of argmax
.
Returns:
* Output
: Gradients w.r.t. the input of max_pool
.Modifier and Type | Class and Description |
---|---|
static class |
MaxPoolGradWithArgmax.Attrs
Optional attribute setters for MaxPoolGradWithArgmax
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static MaxPoolGradWithArgmax.Attrs |
IncludeBatchInIndex(boolean x) |
Node |
node() |
Operation |
operation() |
MaxPoolGradWithArgmax |
operation(Operation setter) |
Output |
output() |
MaxPoolGradWithArgmax |
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 MaxPoolGradWithArgmax(Pointer p)
Pointer(Pointer)
.public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece BytePointer padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece String padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece BytePointer padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece String padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece BytePointer padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece String padding)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntPointer ksize, @tensorflow.ArraySlice IntPointer strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice IntBuffer ksize, @tensorflow.ArraySlice IntBuffer strides, @tensorflow.StringPiece BytePointer padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public MaxPoolGradWithArgmax(@Const @ByRef Scope scope, @ByVal Input input, @ByVal Input grad, @ByVal Input argmax, @tensorflow.ArraySlice int[] ksize, @tensorflow.ArraySlice int[] strides, @tensorflow.StringPiece String padding, @Const @ByRef MaxPoolGradWithArgmax.Attrs attrs)
public Node node()
@ByVal public static MaxPoolGradWithArgmax.Attrs IncludeBatchInIndex(@Cast(value="bool") boolean x)
public MaxPoolGradWithArgmax operation(Operation setter)
public MaxPoolGradWithArgmax output(Output setter)
Copyright © 2022. All rights reserved.