@NoOffset public static class pooling_forward.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
desc(dnnl.prop_kind aprop_kind,
dnnl.algorithm aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
long[] strides,
long[] kernel,
long[] padding_l,
long[] padding_r) |
desc(dnnl.prop_kind aprop_kind,
dnnl.algorithm aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
LongBuffer strides,
LongBuffer kernel,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(dnnl.prop_kind aprop_kind,
dnnl.algorithm aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
LongPointer strides,
LongPointer kernel,
LongPointer padding_l,
LongPointer padding_r)
Constructs a descriptor for pooling forward propagation primitive.
|
desc(int aprop_kind,
int aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
long[] strides,
long[] kernel,
long[] padding_l,
long[] padding_r) |
desc(int aprop_kind,
int aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
LongBuffer strides,
LongBuffer kernel,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(int aprop_kind,
int aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
LongPointer strides,
LongPointer kernel,
LongPointer padding_l,
LongPointer padding_r) |
desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_pooling_desc_t |
data() |
pooling_forward.desc |
data(dnnl_pooling_desc_t setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic desc(Pointer p)
Pointer.Pointer(Pointer).public desc(dnnl.prop_kind aprop_kind, dnnl.algorithm aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer padding_r)
aprop_kind - Propagation kind. Possible values are
#dnnl::prop_kind::forward_training, and
#dnnl::prop_kind::forward_inference.aalgorithm - Pooling algorithm kind: either
#dnnl::algorithm::pooling_max,
#dnnl::algorithm::pooling_avg_include_padding,
or #dnnl::algorithm::pooling_avg (same as
#dnnl::algorithm::pooling_avg_exclude_padding).src_desc - Source memory descriptor.dst_desc - Destination memory descriptor.strides - Vector of strides for spatial dimension.kernel - Vector of kernel spatial dimensions.padding_l - Vector of padding values for low indices for each
spatial dimension ([[front,] top,] left).padding_r - Vector of padding values for high indices for
each spatial dimension ([[back,] bottom,] right).public desc(@Cast(value="dnnl::prop_kind") int aprop_kind, @Cast(value="dnnl::algorithm") int aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer padding_r)
public desc(dnnl.prop_kind aprop_kind, dnnl.algorithm aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] padding_r)
public desc(@Cast(value="dnnl::prop_kind") int aprop_kind, @Cast(value="dnnl::algorithm") int aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongPointer padding_r)
public desc(dnnl.prop_kind aprop_kind, dnnl.algorithm aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef LongBuffer padding_r)
public desc(@Cast(value="dnnl::prop_kind") int aprop_kind, @Cast(value="dnnl::algorithm") int aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] strides, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] kernel, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] padding_r)
@ByRef public dnnl_pooling_desc_t data()
public pooling_forward.desc data(dnnl_pooling_desc_t setter)
Copyright © 2020. All rights reserved.