| Package | Description |
|---|---|
| org.bytedeco.dnnl | |
| org.bytedeco.dnnl.global |
| Modifier and Type | Method and Description |
|---|---|
dnnl_primitive |
dnnl_primitive_handle.asDnnl_primitive()
Converts a handle to the underlying C API handle type.
|
dnnl_primitive |
dnnl_primitive_handle.get() |
dnnl_primitive |
dnnl_primitive_handle.get(boolean allow_empty)
Returns the underlying C API handle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dnnl_primitive_handle.reset(dnnl_primitive t) |
void |
dnnl_primitive_handle.reset(dnnl_primitive t,
boolean weak)
Resets the handle wrapper objects to wrap a new C API handle.
|
| Constructor and Description |
|---|
dnnl_primitive_handle(dnnl_primitive t) |
dnnl_primitive_handle(dnnl_primitive t,
boolean weak)
Constructs a handle wrapper object from a C API handle.
|
primitive(dnnl_primitive t) |
primitive(dnnl_primitive t,
boolean weak) |
| Modifier and Type | Method and Description |
|---|---|
static int |
dnnl.dnnl_primitive_create(dnnl_primitive primitive,
dnnl_primitive_desc primitive_desc)
Creates a primitive.
|
static int |
dnnl.dnnl_primitive_destroy(dnnl_primitive primitive)
Destroys a primitive.
|
static int |
dnnl.dnnl_primitive_execute(dnnl_primitive primitive,
dnnl_stream stream,
int nargs,
dnnl_exec_arg_t args)
Executes a primitive.
|
static int |
dnnl.dnnl_primitive_get_primitive_desc(dnnl_primitive primitive,
dnnl_primitive_desc primitive_desc)
Retrieves a constant reference to the primitive descriptor of a given
primitive.
|
static int |
dnnl.dnnl_primitive_get_primitive_desc(dnnl_primitive primitive,
PointerPointer primitive_desc) |
Copyright © 2020. All rights reserved.