@NoOffset public static class pooling_backward.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] kernel,
long[] padding_l,
long[] padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer kernel,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc diff_dst_desc,
LongPointer strides,
LongPointer kernel,
LongPointer padding_l,
LongPointer padding_r)
Constructs a descriptor for pooling backward propagation primitive.
|
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] kernel,
long[] padding_l,
long[] padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer kernel,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc diff_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_backward.desc |
data(dnnl_pooling_desc_t setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic desc(Pointer p)
Pointer.Pointer(Pointer).public desc(dnnl.algorithm algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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)
diff_dst (#dnnl::primitive_desc_base::diff_dst_desc(0))
- workspace (#dnnl::primitive_desc_base::workspace_desc(0)),
if \p alg_kind = #dnnl::algorithm::pooling_max; must be
queried for using \ref dnnl::primitive_desc_base::query_md()
after a corresponding primitive descriptor is created
Outputs:
- diff_src (#dnnl::primitive_desc_base::diff_src_desc(0))
Arrays \p strides, \p kernel, \p padding_l, and \p padding_r
contain values for spatial dimensions only and hence must have the
same number of elements as there are spatial dimensions. The order
of values is the same as in the tensor: depth (for 3D tensors),
height (for 3D and 2D tensors), and width.algorithm - 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).diff_src_desc - Diff source memory descriptor.diff_dst_desc - Diff 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::algorithm") int algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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.algorithm algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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::algorithm") int algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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.algorithm algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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::algorithm") int algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc diff_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_backward.desc data(dnnl_pooling_desc_t setter)
Copyright © 2020. All rights reserved.