Class floatChunkedArray
java.lang.Object
com.microsoft.ml.lightgbm.floatChunkedArray
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionfloatChunkedArray(long chunk_size) protectedfloatChunkedArray(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(float value) voidclear()voidcoalesce_to(SWIGTYPE_p_float other) voidcoalesce_to(SWIGTYPE_p_float other, boolean all_valid_addresses) data()voiddelete()protected voidfinalize()longlonglonglongprotected static longgetCPtr(floatChunkedArray obj) floatgetitem(long chunk_index, long index_within_chunk, float on_fail_value) voidvoidrelease()intsetitem(long chunk_index, long index_within_chunk, float value) protected static longbooleanwithin_bounds(long chunk_index, long index_within_chunk)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
floatChunkedArray
protected floatChunkedArray(long cPtr, boolean cMemoryOwn) -
floatChunkedArray
public floatChunkedArray(long chunk_size)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
add
public void add(float value) -
get_add_count
public long get_add_count() -
get_chunks_count
public long get_chunks_count() -
get_last_chunk_add_count
public long get_last_chunk_add_count() -
get_chunk_size
public long get_chunk_size() -
data
-
data_as_void
-
coalesce_to
-
coalesce_to
-
getitem
public float getitem(long chunk_index, long index_within_chunk, float on_fail_value) -
setitem
public int setitem(long chunk_index, long index_within_chunk, float value) -
clear
public void clear() -
release
public void release() -
within_bounds
public boolean within_bounds(long chunk_index, long index_within_chunk) -
new_chunk
public void new_chunk()
-