@Namespace(value="dnnl") @Properties(inherit=dnnl.class) public class binary extends primitive
\addtogroup dnnl_api_binary Binary A primitive to perform tensor operations over two tensors.
dev_guide_binary in developer guide
\{
Elementwise binary operator primitive.
| Modifier and Type | Class and Description |
|---|---|
static class |
binary.desc
Descriptor for an elementwise binary operator primitive.
|
static class |
binary.primitive_desc
Primitive descriptor for an elementwise binary operator primitive.
|
primitive.kindPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
binary()
Default constructor.
|
binary(binary.primitive_desc pd)
Constructs an elementwise binary operation primitive.
|
binary(long size)
Native array allocator.
|
binary(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
binary |
getPointer(long i) |
binary |
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 binary(Pointer p)
Pointer.Pointer(Pointer).public binary(long size)
Pointer.position(long).public binary()
public binary(@Const @ByRef binary.primitive_desc pd)
pd - Primitive descriptor for an elementwise binary operation
primitive.Copyright © 2020. All rights reserved.