@NoOffset public static class binary.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
desc()
Default constructor.
|
desc(dnnl.algorithm aalgorithm,
memory.desc src0,
memory.desc src1,
memory.desc dst)
Constructs a descriptor for an elementwise binary operator
primitive.
|
desc(int aalgorithm,
memory.desc src0,
memory.desc src1,
memory.desc dst) |
desc(long size)
Native array allocator.
|
desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_binary_desc_t |
data()
Underlying C operation descriptor.
|
binary.desc |
data(dnnl_binary_desc_t setter) |
binary.desc |
getPointer(long i) |
binary.desc |
position(long position) |
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 desc(Pointer p)
Pointer.Pointer(Pointer).public desc(long size)
Pointer.position(long).public desc()
public desc(dnnl.algorithm aalgorithm, @Const @ByRef memory.desc src0, @Const @ByRef memory.desc src1, @Const @ByRef memory.desc dst)
aalgorithm - Elementwise binary algorithm.src0 - Memory descriptor for source tensor #0.src1 - Memory descriptor for source tensor #1.dst - Memory descriptor for destination tensor.public desc(@Cast(value="dnnl::algorithm") int aalgorithm, @Const @ByRef memory.desc src0, @Const @ByRef memory.desc src1, @Const @ByRef memory.desc dst)
public binary.desc position(long position)
public binary.desc getPointer(long i)
getPointer in class Pointer@ByRef public dnnl_binary_desc_t data()
public binary.desc data(dnnl_binary_desc_t setter)
Copyright © 2020. All rights reserved.