public static class concat.primitive_desc extends primitive_desc_base
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
primitive_desc() |
primitive_desc(concat.primitive_desc arg0) |
primitive_desc(dnnl_primitive_desc t) |
primitive_desc(dnnl_primitive_desc t,
boolean weak) |
primitive_desc(int concat_dimension,
memory.desc srcs,
engine engine) |
primitive_desc(int concat_dimension,
memory.desc srcs,
engine engine,
primitive_attr attr)
Constructs a primitive descriptor for an out-of-place concatenation
primitive.
|
primitive_desc(long size)
Native array allocator.
|
primitive_desc(memory.desc dst,
int concat_dimension,
memory.desc srcs,
engine engine) |
primitive_desc(memory.desc dst,
int concat_dimension,
memory.desc srcs,
engine engine,
primitive_attr attr)
Constructs a primitive descriptor for an out-of-place concatenation
primitive.
|
primitive_desc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
memory.desc |
dst_desc()
\copydoc dnnl::primitive_desc_base::dst_desc()const
|
concat.primitive_desc |
position(long position) |
memory.desc |
src_desc()
Returns a source memory descriptor.
|
memory.desc |
src_desc(int idx)
\copydoc dnnl::primitive_desc_base::src_desc(int)const
|
diff_dst_desc, diff_dst_desc, diff_src_desc, diff_src_desc, diff_weights_desc, diff_weights_desc, dst_desc, get_engine, get_kind, get_primitive_attr, impl_info_str, query_md, query_md, query_md, query_md, query_s64, query_s64, scratchpad_desc, scratchpad_engine, weights_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, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic primitive_desc()
public primitive_desc(@Const @ByRef concat.primitive_desc arg0)
public primitive_desc(dnnl_primitive_desc t, @Cast(value="bool") boolean weak)
public primitive_desc(dnnl_primitive_desc t)
public primitive_desc(Pointer p)
Pointer.Pointer(Pointer).public primitive_desc(long size)
Pointer.position(long).public primitive_desc(@Const @ByRef memory.desc dst, int concat_dimension, @StdVector memory.desc srcs, @Const @ByRef engine engine, @Const @ByRef(nullValue="dnnl::primitive_attr()") primitive_attr attr)
src[0] (#dnnl::primitive_desc_base::src_desc(0))
- src[1] (#dnnl::primitive_desc_base::src_desc(1))
- ...
- src[n - 1] (#dnnl::primitive_desc_base::src_desc(n - 1))
Outputs:
- dst (#dnnl::primitive_desc_base::dst_desc(0))dst - Destination memory descriptor.concat_dimension - Source tensors will be concatenated over
dimension with this index. Note that order of dimensions does
not depend on memory format.srcs - Vector of source memory descriptors.engine - Engine to perform the operation on.attr - Primitive attributes to use (optional).public primitive_desc(@Const @ByRef memory.desc dst, int concat_dimension, @StdVector memory.desc srcs, @Const @ByRef engine engine)
public primitive_desc(int concat_dimension,
@StdVector
memory.desc srcs,
@Const @ByRef
engine engine,
@Const @ByRef(nullValue="dnnl::primitive_attr()")
primitive_attr attr)
concat_dimension - Source tensors will be concatenated over
dimension with this index. Note that order of dimensions does
not depend on memory format.srcs - Vector of source memory descriptors.engine - Engine to perform the operation on.attr - Primitive attributes to use (optional).public primitive_desc(int concat_dimension,
@StdVector
memory.desc srcs,
@Const @ByRef
engine engine)
public concat.primitive_desc position(long position)
position in class primitive_desc_base@ByVal public memory.desc src_desc(int idx)
src_desc in class primitive_desc_baseidx - Source index.@ByVal public memory.desc src_desc()
primitive_desc_basesrc_desc in class primitive_desc_base@ByVal public memory.desc dst_desc()
dst_desc in class primitive_desc_baseCopyright © 2020. All rights reserved.