@NoOffset public static class memory.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
desc(int[] adims,
int adata_type,
int aformat) |
desc(IntBuffer adims,
int adata_type,
int aformat) |
desc(IntPointer adims,
int adata_type,
int aformat)
Constructs a memory descriptor.
|
desc(mkldnn_memory_desc_t adata)
Constructs a memory descriptor from a C API data structure.
|
desc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
mkldnn_memory_desc_t |
data()
The underlying C API data structure.
|
memory.desc |
data(mkldnn_memory_desc_t setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public desc(Pointer p)
Pointer(Pointer)
.public desc(@StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntPointer adims, @Cast(value="mkldnn::memory::data_type") int adata_type, @Cast(value="mkldnn::memory::format") int aformat)
adims
- Data dimensionsadata_type
- Data precision/type.aformat
- Data layout format.public desc(@StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntBuffer adims, @Cast(value="mkldnn::memory::data_type") int adata_type, @Cast(value="mkldnn::memory::format") int aformat)
public desc(@StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal int[] adims, @Cast(value="mkldnn::memory::data_type") int adata_type, @Cast(value="mkldnn::memory::format") int aformat)
public desc(@Const @ByRef mkldnn_memory_desc_t adata)
adata
- A C API #mkldnn_memory_desc_t structure.@ByRef public mkldnn_memory_desc_t data()
public memory.desc data(mkldnn_memory_desc_t setter)
Copyright © 2022. All rights reserved.