public static class matmul.primitive_desc extends primitive_desc
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
primitive_desc()
Default constructor.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a matmul primitive from a C
API primitive descriptor that must have a matching kind.
|
primitive_desc(engine aengine,
memory.desc src_desc,
memory.desc weights_desc,
memory.desc dst_desc) |
primitive_desc(engine aengine,
memory.desc src_desc,
memory.desc weights_desc,
memory.desc bias_desc,
memory.desc dst_desc) |
primitive_desc(engine aengine,
memory.desc src_desc,
memory.desc weights_desc,
memory.desc bias_desc,
memory.desc dst_desc,
primitive_attr attr,
boolean allow_empty)
Constructs a primitive descriptor for a matmul primitive with bias.
|
primitive_desc(engine aengine,
memory.desc src_desc,
memory.desc weights_desc,
memory.desc dst_desc,
primitive_attr attr,
boolean allow_empty)
Constructs a primitive descriptor for a matmul primitive
without bias.
|
primitive_desc(long size)
Native array allocator.
|
primitive_desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
memory.desc |
bias_desc()
\copydoc dnnl::convolution_forward::primitive_desc::bias_desc()const
|
memory.desc |
dst_desc()
\copydoc dnnl::primitive_desc_base::dst_desc()const
|
matmul.primitive_desc |
getPointer(long i) |
matmul.primitive_desc |
position(long position) |
memory.desc |
src_desc()
\copydoc dnnl::primitive_desc_base::src_desc()const
|
memory.desc |
weights_desc()
\copydoc dnnl::primitive_desc_base::weights_desc()const
|
next_impldiff_dst_desc, diff_dst_desc, diff_src_desc, diff_src_desc, diff_weights_desc, diff_weights_desc, dst_desc, get_activation_kind, get_algorithm, get_alpha, get_axis, get_beta, get_cache_blob_id, get_cell_kind, get_dilations, get_direction, get_engine, get_epsilon, get_factors, get_group_size, get_k, get_kernel, get_kind, get_local_size, get_p, get_padding_l, get_padding_r, get_primitive_attr, get_prop_kind, get_strides, impl_info_str, query_md, query_md, query_md, query_md, query_s64, query_s64, scratchpad_desc, scratchpad_engine, src_desc, weights_desc, workspace_descasBoolean, asDnnl_primitive_desc, equals, get, 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 primitive_desc(@Const @ByRef engine aengine, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc weights_desc, @Const @ByRef memory.desc dst_desc, @Const @ByRef(nullValue="dnnl::primitive_attr()") primitive_attr attr, @Cast(value="bool") boolean allow_empty)
aengine - Engine to use.src_desc - Memory descriptor for source (matrix A).weights_desc - Memory descriptor for weights (matrix B).dst_desc - Memory descriptor for destination (matrix C).attr - Primitive attributes to use. Attributes are optional
and default to empty attributes.allow_empty - A flag signifying whether construction is
allowed to fail without throwing an exception. In this case an
empty object will be produced. This flag is optional and
defaults to false.public primitive_desc(@Const @ByRef engine aengine, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc weights_desc, @Const @ByRef memory.desc dst_desc)
public primitive_desc(@Const @ByRef engine aengine, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc weights_desc, @Const @ByRef memory.desc bias_desc, @Const @ByRef memory.desc dst_desc, @Const @ByRef(nullValue="dnnl::primitive_attr()") primitive_attr attr, @Cast(value="bool") boolean allow_empty)
aengine - Engine to use.src_desc - Memory descriptor for source (matrix A).weights_desc - Memory descriptor for weights (matrix B).dst_desc - Memory descriptor for destination (matrix C).bias_desc - Memory descriptor for bias.attr - Primitive attributes to use. Attributes are optional
and default to empty attributes.allow_empty - A flag signifying whether construction is
allowed to fail without throwing an exception. In this case an
empty object will be produced. This flag is optional and
defaults to false.public primitive_desc(@Const @ByRef engine aengine, @Const @ByRef memory.desc src_desc, @Const @ByRef memory.desc weights_desc, @Const @ByRef memory.desc bias_desc, @Const @ByRef memory.desc dst_desc)
public primitive_desc(dnnl_primitive_desc pd)
pd - C API primitive descriptor for a matmul primitive.public matmul.primitive_desc position(long position)
position in class primitive_descpublic matmul.primitive_desc getPointer(long i)
getPointer in class primitive_desc@ByVal public memory.desc src_desc()
src_desc in class primitive_desc_base@ByVal public memory.desc weights_desc()
weights_desc in class primitive_desc_base@ByVal public memory.desc bias_desc()
@ByVal public memory.desc dst_desc()
dst_desc in class primitive_desc_baseCopyright © 2025. All rights reserved.