| Package | Description |
|---|---|
| org.bytedeco.dnnl | |
| org.bytedeco.dnnl.global |
| Modifier and Type | Method and Description |
|---|---|
dnnl_post_ops |
dnnl_post_ops_handle.asDnnl_post_ops()
Converts a handle to the underlying C API handle type.
|
dnnl_post_ops |
dnnl_post_ops_handle.get() |
dnnl_post_ops |
dnnl_post_ops_handle.get(boolean allow_empty)
Returns the underlying C API handle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dnnl_post_ops_handle.reset(dnnl_post_ops t) |
void |
dnnl_post_ops_handle.reset(dnnl_post_ops t,
boolean weak)
Resets the handle wrapper objects to wrap a new C API handle.
|
| Constructor and Description |
|---|
dnnl_post_ops_handle(dnnl_post_ops t) |
dnnl_post_ops_handle(dnnl_post_ops t,
boolean weak)
Constructs a handle wrapper object from a C API handle.
|
post_ops(dnnl_post_ops t) |
post_ops(dnnl_post_ops t,
boolean weak) |
| Modifier and Type | Method and Description |
|---|---|
static int |
dnnl.dnnl_post_ops_append_dw_k3s1p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
float[] scales) |
static int |
dnnl.dnnl_post_ops_append_dw_k3s1p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
FloatBuffer scales) |
static int |
dnnl.dnnl_post_ops_append_dw_k3s1p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
FloatPointer scales)
Appends a depthwise post-op convolution with stride 1.
|
static int |
dnnl.dnnl_post_ops_append_dw_k3s2p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
float[] scales) |
static int |
dnnl.dnnl_post_ops_append_dw_k3s2p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
FloatBuffer scales) |
static int |
dnnl.dnnl_post_ops_append_dw_k3s2p1(dnnl_post_ops post_ops,
int weights_data_type,
int bias_data_type,
int dst_data_type,
long count,
int mask,
FloatPointer scales)
Appends a depthwise post-op convolution with stride 2.
|
static int |
dnnl.dnnl_post_ops_append_eltwise(dnnl_post_ops post_ops,
float scale,
int alg_kind,
float alpha,
float beta)
Appends an elementwise post-op.
|
static int |
dnnl.dnnl_post_ops_append_sum_v2(dnnl_post_ops post_ops,
float scale,
int data_type)
Appends an accumulation v2 (sum) to post-ops.
|
static int |
dnnl.dnnl_post_ops_append_sum(dnnl_post_ops post_ops,
float scale)
Appends an accumulation (sum) to post-ops.
|
static int |
dnnl.dnnl_post_ops_create(dnnl_post_ops post_ops)
Creates empty post-ops sequence.
|
static int |
dnnl.dnnl_post_ops_destroy(dnnl_post_ops post_ops)
Destroys post-ops.
|
static int |
dnnl.dnnl_post_ops_get_kind(dnnl_post_ops post_ops,
int index)
Returns the kind of a post-op entry.
|
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s1p1(dnnl_post_ops post_ops,
int index,
int[] weights_data_type,
int[] bias_data_type,
int[] dst_data_type,
long[] count,
int[] mask,
float[] scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s1p1(dnnl_post_ops post_ops,
int index,
IntBuffer weights_data_type,
IntBuffer bias_data_type,
IntBuffer dst_data_type,
LongBuffer count,
IntBuffer mask,
FloatBuffer scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s1p1(dnnl_post_ops post_ops,
int index,
IntPointer weights_data_type,
IntPointer bias_data_type,
IntPointer dst_data_type,
LongPointer count,
IntPointer mask,
FloatPointer scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s1p1(dnnl_post_ops post_ops,
int index,
IntPointer weights_data_type,
IntPointer bias_data_type,
IntPointer dst_data_type,
LongPointer count,
IntPointer mask,
PointerPointer scales)
Returns the parameters of an depthwise post-op with stride 1.
|
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s2p1(dnnl_post_ops post_ops,
int index,
int[] weights_data_type,
int[] bias_data_type,
int[] dst_data_type,
long[] count,
int[] mask,
float[] scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s2p1(dnnl_post_ops post_ops,
int index,
IntBuffer weights_data_type,
IntBuffer bias_data_type,
IntBuffer dst_data_type,
LongBuffer count,
IntBuffer mask,
FloatBuffer scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s2p1(dnnl_post_ops post_ops,
int index,
IntPointer weights_data_type,
IntPointer bias_data_type,
IntPointer dst_data_type,
LongPointer count,
IntPointer mask,
FloatPointer scales) |
static int |
dnnl.dnnl_post_ops_get_params_dw_k3s2p1(dnnl_post_ops post_ops,
int index,
IntPointer weights_data_type,
IntPointer bias_data_type,
IntPointer dst_data_type,
LongPointer count,
IntPointer mask,
PointerPointer scales)
Returns the parameters of an depthwise post-op with stride 2.
|
static int |
dnnl.dnnl_post_ops_get_params_eltwise(dnnl_post_ops post_ops,
int index,
float[] scale,
int[] alg_kind,
float[] alpha,
float[] beta) |
static int |
dnnl.dnnl_post_ops_get_params_eltwise(dnnl_post_ops post_ops,
int index,
FloatBuffer scale,
IntBuffer alg_kind,
FloatBuffer alpha,
FloatBuffer beta) |
static int |
dnnl.dnnl_post_ops_get_params_eltwise(dnnl_post_ops post_ops,
int index,
FloatPointer scale,
IntPointer alg_kind,
FloatPointer alpha,
FloatPointer beta)
Returns the parameters of an elementwise post-up.
|
static int |
dnnl.dnnl_post_ops_get_params_sum_v2(dnnl_post_ops post_ops,
int index,
float[] scale,
int[] data_type) |
static int |
dnnl.dnnl_post_ops_get_params_sum_v2(dnnl_post_ops post_ops,
int index,
FloatBuffer scale,
IntBuffer data_type) |
static int |
dnnl.dnnl_post_ops_get_params_sum_v2(dnnl_post_ops post_ops,
int index,
FloatPointer scale,
IntPointer data_type)
Returns the parameters of an accumulation (sum) post-op with
a data type parameter.
|
static int |
dnnl.dnnl_post_ops_get_params_sum(dnnl_post_ops post_ops,
int index,
float[] scale) |
static int |
dnnl.dnnl_post_ops_get_params_sum(dnnl_post_ops post_ops,
int index,
FloatBuffer scale) |
static int |
dnnl.dnnl_post_ops_get_params_sum(dnnl_post_ops post_ops,
int index,
FloatPointer scale)
Returns the parameters of an accumulation (sum) post-op.
|
static int |
dnnl.dnnl_post_ops_len(dnnl_post_ops post_ops)
Returns the length of post-ops.
|
static int |
dnnl.dnnl_primitive_attr_get_post_ops(dnnl_primitive_attr attr,
dnnl_post_ops post_ops)
Returns primitive attributes post-ops.
|
static int |
dnnl.dnnl_primitive_attr_set_post_ops(dnnl_primitive_attr attr,
dnnl_post_ops post_ops)
Sets primitive attributes post-ops.
|
Copyright © 2020. All rights reserved.