@Namespace(value="dnnl") @Properties(inherit=dnnl.class) public class matmul extends primitive
\addtogroup dnnl_api_matmul Matrix Multiplication A primitive to perform matrix-matrix multiplication. The batched mode is supported with 3D tensors.
dev_guide_matmul in developer guide
\{
Matrix multiplication (matmul) primitive.
| Modifier and Type | Class and Description |
|---|---|
static class |
matmul.desc
Descriptor for a matmul primitive.
|
static class |
matmul.primitive_desc
Primitive descriptor for a matmul primitive.
|
primitive.kindPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
matmul()
Default constructor.
|
matmul(long size)
Native array allocator.
|
matmul(matmul.primitive_desc pd)
Constructs a matmul primitive.
|
matmul(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
matmul |
getPointer(long i) |
matmul |
position(long position) |
execute, get_dnnl_primitive_desc, get_kindasBoolean, asDnnl_primitive, equals, get, get, notEquals, put, reset, resetaddress, 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 matmul(Pointer p)
Pointer.Pointer(Pointer).public matmul(long size)
Pointer.position(long).public matmul()
public matmul(@Const @ByRef matmul.primitive_desc pd)
pd - Primitive descriptor for a matmul primitive.Copyright © 2020. All rights reserved.