@NoOffset public static class reduction.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
desc()
Default constructor.
|
desc(dnnl.algorithm aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
float p,
float eps)
Constructs a descriptor for a reduction primitive using algorithm
specific parameters, source and destination memory descriptors.
|
desc(int aalgorithm,
memory.desc src_desc,
memory.desc dst_desc,
float p,
float eps) |
desc(long size)
Native array allocator.
|
desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_reduction_desc_t |
data() |
reduction.desc |
data(dnnl_reduction_desc_t setter) |
reduction.desc |
getPointer(long i) |
reduction.desc |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic desc(Pointer p)
Pointer(Pointer).public desc(long size)
Pointer.position(long).public desc()
public desc(dnnl.algorithm aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, float p, float eps)
aalgorithm - reduction algorithm kind. Possible values:
#dnnl_reduction_max, #dnnl_reduction_min, #dnnl_reduction_sum,
#dnnl_reduction_mul, #dnnl_reduction_mean,
#dnnl_reduction_norm_lp_max, #dnnl_reduction_norm_lp_sum,
#dnnl_reduction_norm_lp_power_p_max,
#dnnl_reduction_norm_lp_power_p_sum.p - algorithm specific parameter.eps - algorithm specific parameter.src_desc - Source memory descriptor.dst_desc - Destination memory descriptor.public desc(@Cast(value="dnnl::algorithm") int aalgorithm, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc dst_desc, float p, float eps)
public reduction.desc position(long position)
public reduction.desc getPointer(long i)
getPointer in class Pointer@ByRef public dnnl_reduction_desc_t data()
public reduction.desc data(dnnl_reduction_desc_t setter)
Copyright © 2022. All rights reserved.