@NoOffset public static class rnn_cell.desc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
desc(int kind) |
desc(int kind,
int activation_f) |
desc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
mkldnn_rnn_cell_desc_t |
as_mkldnn_rnn_cell_desc_t() |
mkldnn_rnn_cell_desc_t |
c_rnn_cell_() |
rnn_cell.desc |
c_rnn_cell_(mkldnn_rnn_cell_desc_t setter) |
int |
get_activation() |
float |
get_alpha() |
int |
get_cell_kind() |
float |
get_clipping() |
int |
get_gates_count() |
int |
get_state_count() |
void |
set_alpha(float alpha) |
void |
set_clipping(float clipping) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public desc(Pointer p)
Pointer(Pointer)
.public desc(@Cast(value="mkldnn::algorithm") int kind, @Cast(value="mkldnn::algorithm") int activation_f)
@ByRef public mkldnn_rnn_cell_desc_t c_rnn_cell_()
public rnn_cell.desc c_rnn_cell_(mkldnn_rnn_cell_desc_t setter)
@Name(value="operator const mkldnn_rnn_cell_desc_t*") @Const public mkldnn_rnn_cell_desc_t as_mkldnn_rnn_cell_desc_t()
public float get_alpha()
public void set_alpha(float alpha)
public float get_clipping()
public void set_clipping(float clipping)
public int get_gates_count()
public int get_state_count()
Copyright © 2022. All rights reserved.