| Package | Description |
|---|---|
| org.bytedeco.dnnl | |
| org.bytedeco.dnnl.global |
| Modifier and Type | Method and Description |
|---|---|
dnnl_primitive_desc |
dnnl_primitive_desc_handle.asDnnl_primitive_desc()
Converts a handle to the underlying C API handle type.
|
dnnl_primitive_desc |
primitive.get_dnnl_primitive_desc()
Returns the C API primitive descriptor of the underlying C API
primitive.
|
dnnl_primitive_desc[] |
dnnl_primitive_desc_vector.get() |
dnnl_primitive_desc |
dnnl_primitive_desc_vector.Iterator.get() |
dnnl_primitive_desc |
dnnl_primitive_desc_handle.get() |
dnnl_primitive_desc |
dnnl_primitive_desc_handle.get(boolean allow_empty)
Returns the underlying C API handle.
|
dnnl_primitive_desc |
dnnl_primitive_desc_vector.get(long i) |
dnnl_primitive_desc |
dnnl_primitive_desc_vector.pop_back() |
| Modifier and Type | Method and Description |
|---|---|
dnnl_primitive_desc_vector.Iterator |
dnnl_primitive_desc_vector.insert(dnnl_primitive_desc_vector.Iterator pos,
dnnl_primitive_desc value) |
dnnl_primitive_desc_vector |
dnnl_primitive_desc_vector.push_back(dnnl_primitive_desc value) |
dnnl_primitive_desc_vector |
dnnl_primitive_desc_vector.put(dnnl_primitive_desc... array) |
dnnl_primitive_desc_vector |
dnnl_primitive_desc_vector.put(dnnl_primitive_desc value) |
dnnl_primitive_desc_vector |
dnnl_primitive_desc_vector.put(long i,
dnnl_primitive_desc value) |
void |
dnnl_primitive_desc_handle.reset(dnnl_primitive_desc t) |
void |
dnnl_primitive_desc_handle.reset(dnnl_primitive_desc t,
boolean weak)
Resets the handle wrapper objects to wrap a new C API handle.
|
| Constructor and Description |
|---|
dnnl_primitive_desc_handle(dnnl_primitive_desc t) |
dnnl_primitive_desc_handle(dnnl_primitive_desc t,
boolean weak)
Constructs a handle wrapper object from a C API handle.
|
dnnl_primitive_desc_vector(dnnl_primitive_desc... array) |
dnnl_primitive_desc_vector(dnnl_primitive_desc value) |
primitive_desc_base(dnnl_primitive_desc t) |
primitive_desc_base(dnnl_primitive_desc t,
boolean weak) |
primitive_desc(const_dnnl_op_desc_t desc,
primitive_attr attr,
engine aengine,
dnnl_primitive_desc hint_fwd_pd) |
primitive_desc(const_dnnl_op_desc_t desc,
primitive_attr attr,
engine aengine,
dnnl_primitive_desc hint_fwd_pd,
boolean allow_empty)
Constructs a primitive descriptor.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a vanilla RNN forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a vanilla RNN backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc t) |
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a softmax forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a softmax backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a shuffle forward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a shuffle backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a resampling forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a resampling backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc t) |
primitive_desc(dnnl_primitive_desc t) |
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a pooling forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a pooling backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
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(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an LSTM forward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an LSTM backward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an LRN forward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an LRN backward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a logsoftmax forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a logsoftmax backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a LBR GRU forward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a LBR GRU backward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a layer normalization
forward propagation primitive from a C API primitive descriptor
that must have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a layer normalization
backward propagation primitive from a C API primitive descriptor
that must have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an inner product forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an inner product weights
update primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an inner product backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a GRU forward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a GRU backward propagation
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an eltwise forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for an eltwise backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a deconvolution forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a deconvolution weights
gradient primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a deconvolution backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a convolution forward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a convolution weights gradient
primitive from a C API primitive descriptor that must have a
matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a convolution backward
propagation primitive from a C API primitive descriptor that must
have a matching kind.
|
primitive_desc(dnnl_primitive_desc t) |
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a binary primitive from a C
API primitive descriptor that must have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a batch normalization
forward propagation primitive from a C API primitive descriptor
that must have a matching kind.
|
primitive_desc(dnnl_primitive_desc pd)
Constructs a primitive descriptor for a batch normalization
backward propagation primitive from a C API primitive descriptor
that must have a matching kind.
|
primitive_desc(dnnl_primitive_desc t,
boolean weak) |
primitive_desc(dnnl_primitive_desc t,
boolean weak) |
primitive_desc(dnnl_primitive_desc t,
boolean weak) |
primitive_desc(dnnl_primitive_desc t,
boolean weak) |
primitive(dnnl_primitive_desc c_pd)
Constructs a primitive from a C API primitive descriptor.
|
rnn_primitive_desc_base(const_dnnl_op_desc_t desc,
primitive_attr attr,
engine aengine,
dnnl_primitive_desc hint_fwd_pd) |
rnn_primitive_desc_base(const_dnnl_op_desc_t desc,
primitive_attr attr,
engine aengine,
dnnl_primitive_desc hint_fwd_pd,
boolean allow_empty) |
rnn_primitive_desc_base(dnnl_primitive_desc t) |
rnn_primitive_desc_base(dnnl_primitive_desc t,
boolean weak) |
rnn_primitive_desc_base(dnnl_primitive_desc pd,
dnnl.prop_kind aprop_kind,
dnnl.algorithm cell_kind)
Constructs an RNN primitive descriptor base from a C API primitive
descriptor while checking that it actually describes the expected
primitive by comparing propagation and primitive kinds.
|
rnn_primitive_desc_base(dnnl_primitive_desc pd,
int aprop_kind,
int cell_kind) |
| Modifier and Type | Method and Description |
|---|---|
static dnnl_primitive_desc |
dnnl.dnnl_primitive_desc_iterator_fetch(dnnl_primitive_desc_iterator iterator)
Fetches the current primitive descriptor from a primitive descriptor
iterator.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
dnnl.dnnl_concat_primitive_desc_create(dnnl_primitive_desc concat_primitive_desc,
dnnl_memory_desc_t dst_desc,
int n,
int concat_dimension,
dnnl_memory_desc_t src_descs,
dnnl_primitive_attr attr,
dnnl_engine engine)
\} dnnl_api_reorder
|
static int |
dnnl.dnnl_primitive_create(dnnl_primitive primitive,
dnnl_primitive_desc primitive_desc)
Creates a primitive.
|
static int |
dnnl.dnnl_primitive_create(PointerPointer primitive,
dnnl_primitive_desc primitive_desc) |
static int |
dnnl.dnnl_primitive_desc_clone(dnnl_primitive_desc primitive_desc,
dnnl_primitive_desc existing_primitive_desc)
Clones a primitive descriptor.
|
static int |
dnnl.dnnl_primitive_desc_clone(PointerPointer primitive_desc,
dnnl_primitive_desc existing_primitive_desc) |
static int |
dnnl.dnnl_primitive_desc_create(dnnl_primitive_desc primitive_desc,
const_dnnl_op_desc_t op_desc,
dnnl_primitive_attr attr,
dnnl_engine engine,
dnnl_primitive_desc hint_forward_primitive_desc)
Creates a primitive descriptor.
|
static int |
dnnl.dnnl_primitive_desc_create(PointerPointer primitive_desc,
const_dnnl_op_desc_t op_desc,
dnnl_primitive_attr attr,
dnnl_engine engine,
dnnl_primitive_desc hint_forward_primitive_desc) |
static int |
dnnl.dnnl_primitive_desc_destroy(dnnl_primitive_desc primitive_desc)
Destroys a primitive descriptor.
|
static int |
dnnl.dnnl_primitive_desc_get_attr(dnnl_primitive_desc primitive_desc,
dnnl_primitive_attr attr)
Returns a constant reference to the attributes of a primitive descriptor.
|
static int |
dnnl.dnnl_primitive_desc_get_attr(dnnl_primitive_desc primitive_desc,
PointerPointer attr) |
static int |
dnnl.dnnl_primitive_desc_iterator_create(dnnl_primitive_desc_iterator iterator,
const_dnnl_op_desc_t op_desc,
dnnl_primitive_attr attr,
dnnl_engine engine,
dnnl_primitive_desc hint_forward_primitive_desc)
\addtogroup dnnl_api
\{
|
static int |
dnnl.dnnl_primitive_desc_iterator_create(PointerPointer iterator,
const_dnnl_op_desc_t op_desc,
dnnl_primitive_attr attr,
dnnl_engine engine,
dnnl_primitive_desc hint_forward_primitive_desc) |
static dnnl_memory_desc_t |
dnnl.dnnl_primitive_desc_query_md(dnnl_primitive_desc primitive_desc,
int what,
int index)
Queries primitive descriptor for a memory descriptor.
|
static int |
dnnl.dnnl_primitive_desc_query_s32(dnnl_primitive_desc primitive_desc,
int what,
int index)
Queries primitive descriptor for a signed 32bit int.
|
static int |
dnnl.dnnl_primitive_desc_query(dnnl_primitive_desc primitive_desc,
int what,
int index,
Pointer result)
Queries a primitive descriptor for various pieces of information.
|
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_reorder_primitive_desc_create(dnnl_primitive_desc reorder_primitive_desc,
dnnl_memory_desc_t src_desc,
dnnl_engine src_engine,
dnnl_memory_desc_t dst_desc,
dnnl_engine dst_engine,
dnnl_primitive_attr attr)
\} dnnl_api_memory
|
static int |
dnnl.dnnl_sum_primitive_desc_create(dnnl_primitive_desc sum_primitive_desc,
dnnl_memory_desc_t dst_desc,
int n,
float[] scales,
dnnl_memory_desc_t src_descs,
dnnl_primitive_attr attr,
dnnl_engine engine) |
static int |
dnnl.dnnl_sum_primitive_desc_create(dnnl_primitive_desc sum_primitive_desc,
dnnl_memory_desc_t dst_desc,
int n,
FloatBuffer scales,
dnnl_memory_desc_t src_descs,
dnnl_primitive_attr attr,
dnnl_engine engine) |
static int |
dnnl.dnnl_sum_primitive_desc_create(dnnl_primitive_desc sum_primitive_desc,
dnnl_memory_desc_t dst_desc,
int n,
FloatPointer scales,
dnnl_memory_desc_t src_descs,
dnnl_primitive_attr attr,
dnnl_engine engine)
\} dnnl_api_concat
|
Copyright © 2020. All rights reserved.