public static class memory.primitive_desc extends mkldnn_primitive_desc_handle
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
primitive_desc() |
primitive_desc(long size)
Native array allocator.
|
primitive_desc(memory.desc adesc,
engine aengine)
Constructs a memory primitive descriptor.
|
primitive_desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
memory.desc |
desc()
Returns the memory primitive descriptor.
|
boolean |
equals(memory.primitive_desc other) |
engine |
get_engine() |
long |
get_size()
Returns the number of bytes required to allocate the memory described
including the padding area.
|
memory.primitive_desc |
getPointer(long i) |
boolean |
notEquals(memory.primitive_desc other) |
memory.primitive_desc |
position(long position) |
equals, get, notEquals, put, reset, resetaddress, 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 primitive_desc(Pointer p)
Pointer(Pointer).public primitive_desc(long size)
Pointer.position(long).public primitive_desc()
public memory.primitive_desc position(long position)
position in class mkldnn_primitive_desc_handlepublic memory.primitive_desc getPointer(long i)
getPointer in class mkldnn_primitive_desc_handle@ByVal public memory.desc desc()
@Cast(value="size_t") public long get_size()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef memory.primitive_desc other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef memory.primitive_desc other)
Copyright © 2022. All rights reserved.