@Properties(inherit=dnnl.class) public class dnnl_blocking_desc_t extends Pointer
dev_guide_understanding_memory_formatsPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
dnnl_blocking_desc_t()
Default native constructor.
|
dnnl_blocking_desc_t(long size)
Native array allocator.
|
dnnl_blocking_desc_t(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_blocking_desc_t |
getPointer(long i) |
LongPointer |
inner_blks()
The size of the blocks, e.g.
|
LongPointer |
inner_idxs()
The logical indices of the blocks, e.g.
|
int |
inner_nblks()
The number of innermost blocks, e.g.
|
dnnl_blocking_desc_t |
inner_nblks(int setter) |
dnnl_blocking_desc_t |
position(long position) |
LongPointer |
strides()
The strides between the outermost blocks.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic dnnl_blocking_desc_t()
public dnnl_blocking_desc_t(long size)
Pointer.position(long).public dnnl_blocking_desc_t(Pointer p)
Pointer.Pointer(Pointer).public dnnl_blocking_desc_t position(long position)
public dnnl_blocking_desc_t getPointer(long i)
getPointer in class Pointer@MemberGetter @Cast(value="int64_t*") public LongPointer strides()
public int inner_nblks()
OIhw_4i16o4i_public dnnl_blocking_desc_t inner_nblks(int setter)
@MemberGetter @Cast(value="int64_t*") public LongPointer inner_blks()
{4, 16, 4} in case of OIhw_4i16o4i@MemberGetter @Cast(value="int64_t*") public LongPointer inner_idxs()
{1, 0, 1} in case of
4i16o4i, because i is the 1st dim and o is the 0st dimCopyright © 2020. All rights reserved.