@Properties(inherit=dnnl.class) public class dnnl_shuffle_desc_t extends Pointer
\addtogroup dnnl_api_shuffle \{
A descriptor of a shuffle operation.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
dnnl_shuffle_desc_t()
Default native constructor.
|
dnnl_shuffle_desc_t(long size)
Native array allocator.
|
dnnl_shuffle_desc_t(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
axis()
Axis for shuffling.
|
dnnl_shuffle_desc_t |
axis(int setter) |
dnnl_memory_desc_t |
data_desc()
Source and destination memory descriptor,
and source and destination gradient memory descriptor.
|
dnnl_shuffle_desc_t |
data_desc(dnnl_memory_desc_t setter) |
dnnl_shuffle_desc_t |
getPointer(long i) |
long |
group_size()
Number of groups.
|
dnnl_shuffle_desc_t |
group_size(long setter) |
dnnl_shuffle_desc_t |
position(long position) |
int |
primitive_kind()
The kind of primitive.
|
dnnl_shuffle_desc_t |
primitive_kind(int setter) |
int |
prop_kind()
The kind of propagation.
|
dnnl_shuffle_desc_t |
prop_kind(int setter) |
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_shuffle_desc_t()
public dnnl_shuffle_desc_t(long size)
Pointer.position(long).public dnnl_shuffle_desc_t(Pointer p)
Pointer.Pointer(Pointer).public dnnl_shuffle_desc_t position(long position)
public dnnl_shuffle_desc_t getPointer(long i)
getPointer in class Pointer@Cast(value="dnnl_primitive_kind_t") public int primitive_kind()
public dnnl_shuffle_desc_t primitive_kind(int setter)
@Cast(value="dnnl_prop_kind_t") public int prop_kind()
public dnnl_shuffle_desc_t prop_kind(int setter)
@ByRef public dnnl_memory_desc_t data_desc()
public dnnl_shuffle_desc_t data_desc(dnnl_memory_desc_t setter)
public int axis()
public dnnl_shuffle_desc_t axis(int setter)
public dnnl_shuffle_desc_t group_size(long setter)
Copyright © 2020. All rights reserved.