4 writes to _handle
Microsoft.ML.LightGbm (4)
WrappedLightGbmDataset.cs (4)
49
_handle
= null;
71
param, out
_handle
));
97
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetCreateByReference(refHandle, numTotalRow, out
_handle
));
107
_handle
= null;
10 references to _handle
Microsoft.ML.LightGbm (10)
WrappedLightGbmDataset.cs (10)
18
public WrappedLightGbmInterface.SafeDataSetHandle Handle =>
_handle
;
106
_handle
?.Dispose();
124
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetPushRows(
_handle
, data, numRow, numCol, startRowIdx));
136
_handle
, indPtr, indices, data, nIndptr, numElem, numCol, startRowIdx));
143
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetGetNumData(
_handle
, ref res));
150
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetGetNumFeature(
_handle
, ref res));
159
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetSetField(
_handle
, "label", (IntPtr)ptr, labels.Length,
181
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetSetField(
_handle
, "weight", (IntPtr)ptr, weights.Length,
192
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetSetField(
_handle
, "group", (IntPtr)ptr, groups.Length,
204
LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.DatasetSetField(
_handle
, "init_score", (IntPtr)ptr, initScores.Length,