@Namespace(value="mkldnn") @Properties(inherit=mkldnn.class) public class post_ops extends mkldnn_post_ops_handle
\addtogroup cpp_api_attr Attributes An extension for controlling primitive behavior.
c_api_attributes in \ref c_api
\{
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
post_ops() |
post_ops(long size)
Native array allocator.
|
post_ops(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
append_eltwise(float scale,
int alg,
float alpha,
float beta) |
void |
append_sum() |
void |
append_sum(float scale) |
void |
get_params_eltwise(int index,
float[] scale,
int[] alg,
float[] alpha,
float[] beta) |
void |
get_params_eltwise(int index,
FloatBuffer scale,
IntBuffer alg,
FloatBuffer alpha,
FloatBuffer beta) |
void |
get_params_eltwise(int index,
FloatPointer scale,
IntPointer alg,
FloatPointer alpha,
FloatPointer beta) |
void |
get_params_sum(int index,
float[] scale) |
void |
get_params_sum(int index,
FloatBuffer scale) |
void |
get_params_sum(int index,
FloatPointer scale) |
post_ops |
getPointer(long i) |
int |
kind(int index) |
int |
len() |
post_ops |
position(long position) |
equals, get, notEquals, put, reset, reset
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public post_ops(Pointer p)
Pointer(Pointer)
.public post_ops(long size)
Pointer.position(long)
.public post_ops()
public post_ops position(long position)
position
in class mkldnn_post_ops_handle
public post_ops getPointer(long i)
getPointer
in class mkldnn_post_ops_handle
public int len()
public void append_sum(float scale)
public void append_sum()
public void get_params_sum(int index, @ByRef FloatPointer scale)
public void get_params_sum(int index, @ByRef FloatBuffer scale)
public void get_params_sum(int index, @ByRef float[] scale)
public void append_eltwise(float scale, @Cast(value="mkldnn::algorithm") int alg, float alpha, float beta)
public void get_params_eltwise(int index, @ByRef FloatPointer scale, @Cast(value="mkldnn::algorithm*") @ByRef IntPointer alg, @ByRef FloatPointer alpha, @ByRef FloatPointer beta)
public void get_params_eltwise(int index, @ByRef FloatBuffer scale, @Cast(value="mkldnn::algorithm*") @ByRef IntBuffer alg, @ByRef FloatBuffer alpha, @ByRef FloatBuffer beta)
Copyright © 2022. All rights reserved.