@NoOffset public static class convolution_backward_data.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 weights_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] padding_l,
long[] padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] dilates,
long[] padding_l,
long[] padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer dilates,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongPointer strides,
LongPointer padding_l,
LongPointer padding_r)
Constructs a descriptor for a convolution backward propagation
primitive.
|
desc(dnnl.algorithm algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongPointer strides,
LongPointer dilates,
LongPointer padding_l,
LongPointer padding_r)
Constructs a descriptor for dilated convolution backward
propagation primitive.
|
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] padding_l,
long[] padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
long[] strides,
long[] dilates,
long[] padding_l,
long[] padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongBuffer strides,
LongBuffer dilates,
LongBuffer padding_l,
LongBuffer padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongPointer strides,
LongPointer padding_l,
LongPointer padding_r) |
desc(int algorithm,
memory.desc diff_src_desc,
memory.desc weights_desc,
memory.desc diff_dst_desc,
LongPointer strides,
LongPointer dilates,
LongPointer padding_l,
LongPointer padding_r) |
desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_convolution_desc_t |
data() |
convolution_backward_data.desc |
data(dnnl_convolution_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 weights_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 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))
- weights (#dnnl::primitive_desc_base::weights_desc(0))
Outputs:
- diff_src (#dnnl::primitive_desc_base::diff_src_desc(0))
\note
All the memory descriptors may be initialized with the
#dnnl::memory::format_tag::any value of \p format_tag.
Arrays \p strides, \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 - Convolution algorithm. Possible values are
#dnnl::algorithm::convolution_direct,
#dnnl::algorithm::convolution_winograd, and
#dnnl::algorithm::convolution_auto.diff_src_desc - Diff source memory descriptor.weights_desc - Weights memory descriptor.diff_dst_desc - Diff destination memory descriptor.strides - Strides for each spatial dimension.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 weights_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 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 weights_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[] 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 weights_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 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 weights_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 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 weights_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[] padding_l, @Const @Cast(value={"dnnl_dim_t*","std::vector<dnnl_dim_t>&"}) @StdVector(value="dnnl_dim_t") @ByRef long[] padding_r)
public desc(dnnl.algorithm algorithm, @Const @ByRef memory.desc diff_src_desc, @Const @ByRef memory.desc weights_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 dilates, @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))
- weights (#dnnl::primitive_desc_base::weights_desc(0))
Outputs:
- diff_src (#dnnl::primitive_desc_base::diff_src_desc(0))
\note
All the memory descriptors may be initialized with the
#dnnl::memory::format_tag::any value of \p format_tag.
Arrays \p strides, \p dilates, \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 - Convolution algorithm. Possible values are
#dnnl::algorithm::convolution_direct,
#dnnl::algorithm::convolution_winograd, and
#dnnl::algorithm::convolution_auto.diff_src_desc - Diff source memory descriptor.weights_desc - Weights memory descriptor.diff_dst_desc - Diff destination memory descriptor.strides - Strides for each spatial dimension.dilates - Dilations for each spatial dimension. A zero value
means no dilation in the corresponding dimension.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 weights_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 dilates, @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 weights_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[] dilates, @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 weights_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 dilates, @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 weights_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 dilates, @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 weights_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[] dilates, @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_convolution_desc_t data()
public convolution_backward_data.desc data(dnnl_convolution_desc_t setter)
Copyright © 2020. All rights reserved.