Package | Description |
---|---|
org.bytedeco.mkldnn | |
org.bytedeco.mkldnn.global |
Modifier and Type | Method and Description |
---|---|
mkldnn_post_ops |
mkldnn_post_ops_handle.get()
Returns the value of the underlying C handle.
|
Modifier and Type | Method and Description |
---|---|
void |
mkldnn_post_ops_handle.reset(mkldnn_post_ops t) |
void |
mkldnn_post_ops_handle.reset(mkldnn_post_ops t,
boolean weak)
Resets the value of a C handle.
|
Constructor and Description |
---|
mkldnn_post_ops_handle(mkldnn_post_ops t,
boolean weak)
Constructs a C handle wrapper.
|
Modifier and Type | Method and Description |
---|---|
static int |
mkldnn.mkldnn_post_ops_append_eltwise(mkldnn_post_ops post_ops,
float scale,
int alg,
float alpha,
float beta)
Appends eltwise post operation to the \p post_ops with given parameters
\p kind, \p alpha, and \p beta (@see mkldnn_eltwise_forward_desc_init and
mkldnn_eltwise_desc_t).
|
static int |
mkldnn.mkldnn_post_ops_append_sum(mkldnn_post_ops post_ops,
float scale)
Appends accumulation (sum) post operation to the \p post_ops.
|
static int |
mkldnn.mkldnn_post_ops_create(mkldnn_post_ops post_ops)
Creates an empty sequence of post operations \p post_ops.
|
static int |
mkldnn.mkldnn_post_ops_destroy(mkldnn_post_ops post_ops)
Deletes a \p post_ops sequence.
|
static int |
mkldnn.mkldnn_post_ops_get_kind(mkldnn_post_ops post_ops,
int index)
Returns the type of post operation with index \p index in given
\p post_ops.
|
static int |
mkldnn.mkldnn_post_ops_get_params_eltwise(mkldnn_post_ops post_ops,
int index,
float[] scale,
int[] alg,
float[] alpha,
float[] beta) |
static int |
mkldnn.mkldnn_post_ops_get_params_eltwise(mkldnn_post_ops post_ops,
int index,
FloatBuffer scale,
IntBuffer alg,
FloatBuffer alpha,
FloatBuffer beta) |
static int |
mkldnn.mkldnn_post_ops_get_params_eltwise(mkldnn_post_ops post_ops,
int index,
FloatPointer scale,
IntPointer alg,
FloatPointer alpha,
FloatPointer beta)
Gets the eltwise parameters of the post operation with index \p index in
the sequence of \p post_ops.
|
static int |
mkldnn.mkldnn_post_ops_get_params_sum(mkldnn_post_ops post_ops,
int index,
float[] scale) |
static int |
mkldnn.mkldnn_post_ops_get_params_sum(mkldnn_post_ops post_ops,
int index,
FloatBuffer scale) |
static int |
mkldnn.mkldnn_post_ops_get_params_sum(mkldnn_post_ops post_ops,
int index,
FloatPointer scale)
Gets the parameters of the accumulation (sum) post operation with index
\p index in the sequence of \p post_ops.
|
static int |
mkldnn.mkldnn_post_ops_len(mkldnn_post_ops post_ops)
Returns the \p length of post operations for given \p post_ops.
|
static int |
mkldnn.mkldnn_primitive_attr_get_post_ops(mkldnn_primitive_attr attr,
mkldnn_post_ops post_ops)
Returns \p post_ops for given \p attr.
|
static int |
mkldnn.mkldnn_primitive_attr_set_post_ops(mkldnn_primitive_attr attr,
mkldnn_post_ops post_ops)
Sets configured \p post_ops to an attribute \p attr for future use (when
primitive descriptor is being created).
|
Copyright © 2022. All rights reserved.