@Namespace(value="mkldnn") @Properties(inherit=mkldnn.class) public class primitive_attr extends mkldnn_primitive_attr_handle
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
primitive_attr() |
primitive_attr(long size)
Native array allocator.
|
primitive_attr(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get_int_output_round_mode() |
void |
get_output_scales(int[] mask,
float[] scales) |
void |
get_output_scales(IntBuffer mask,
FloatBuffer scales) |
void |
get_output_scales(IntPointer mask,
FloatPointer scales) |
post_ops |
get_post_ops() |
primitive_attr |
position(long position) |
void |
set_int_output_round_mode(int mode) |
void |
set_output_scales(int mask,
float[] scales) |
void |
set_output_scales(int mask,
FloatBuffer scales) |
void |
set_output_scales(int mask,
FloatPointer scales) |
void |
set_post_ops(post_ops ops) |
void |
set_rnn_data_qparams(float scale,
float shift) |
void |
set_rnn_weights_qparams(int mask,
float[] scales) |
void |
set_rnn_weights_qparams(int mask,
FloatBuffer scales) |
void |
set_rnn_weights_qparams(int mask,
FloatPointer scales) |
equals, get, notEquals, put, reset, resetaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic primitive_attr(Pointer p)
Pointer.Pointer(Pointer).public primitive_attr(long size)
Pointer.position(long).public primitive_attr()
public primitive_attr position(long position)
position in class mkldnn_primitive_attr_handlepublic void set_int_output_round_mode(@Cast(value="mkldnn::round_mode") int mode)
public void get_output_scales(@ByRef IntPointer mask, @StdVector FloatPointer scales)
public void get_output_scales(@ByRef IntBuffer mask, @StdVector FloatBuffer scales)
public void get_output_scales(@ByRef int[] mask, @StdVector float[] scales)
public void set_output_scales(int mask,
@StdVector
FloatPointer scales)
public void set_output_scales(int mask,
@StdVector
FloatBuffer scales)
public void set_output_scales(int mask,
@StdVector
float[] scales)
public void set_rnn_data_qparams(float scale,
float shift)
public void set_rnn_weights_qparams(int mask,
@StdVector
FloatPointer scales)
public void set_rnn_weights_qparams(int mask,
@StdVector
FloatBuffer scales)
public void set_rnn_weights_qparams(int mask,
@StdVector
float[] scales)
Copyright © 2019. All rights reserved.