3 types derived from SlotCursor
Microsoft.ML.Data (3)
Data\SlotCursor.cs (2)
82
internal abstract class SynchronizedSlotCursor :
SlotCursor
106
internal abstract class RootSlotCursor :
SlotCursor
DataLoadSave\Transpose\TransposeLoader.cs (1)
670
private sealed class SlotCursor<T> :
SlotCursor
48 references to SlotCursor
Microsoft.ML.Data (43)
Data\ITransposeDataView.cs (2)
17
/// cursor via an <see cref="
SlotCursor
"/> returned by <see cref="GetSlotCursor(int)"/>
32
SlotCursor
GetSlotCursor(int col);
Data\RowCursorUtils.cs (5)
193
internal static ValueGetter<VBuffer<TDst>> GetVecGetterAs<TDst>(PrimitiveDataViewType typeDst,
SlotCursor
cursor)
215
public static GetterFactory Create(
SlotCursor
cursor)
241
private readonly
SlotCursor
_cursor;
243
public SlotImpl(
SlotCursor
cursor)
414
internal static ValueGetter<VBuffer<Single>> GetLabelGetter(
SlotCursor
cursor)
Data\SlotCursor.cs (3)
84
private readonly
SlotCursor
_root;
86
public SynchronizedSlotCursor(IChannelProvider provider,
SlotCursor
cursor)
102
/// A useful base class for common <see cref="
SlotCursor
"/> implementations, somewhat
DataLoadSave\LegacyCompositeDataLoader.cs (1)
603
SlotCursor
ITransposeDataView.GetSlotCursor(int col)
DataLoadSave\Transpose\TransposeLoader.cs (8)
320
private static readonly FuncInstanceMethodInfo1<TransposeLoader, DataViewRowCursor,
SlotCursor
> _getSlotCursorCoreMethodInfo
321
= FuncInstanceMethodInfo1<TransposeLoader, DataViewRowCursor,
SlotCursor
>.Create(target => target.GetSlotCursorCore<int>);
637
SlotCursor
ITransposeDataView.GetSlotCursor(int col)
665
private
SlotCursor
GetSlotCursorCore<T>(DataViewRowCursor inputCursor)
751
private readonly
SlotCursor
[] _transCursors;
771
_transCursors = new
SlotCursor
[_actives.Length];
816
SlotCursor
cursor = trans.GetSlotCursor(0);
837
SlotCursor
cursor = trans.GetSlotCursor(0);
DataView\Transposer.cs (18)
26
private static readonly FuncInstanceMethodInfo1<Transposer, int,
SlotCursor
> _getSlotCursorCoreMethodInfo
27
= FuncInstanceMethodInfo1<Transposer, int,
SlotCursor
>.Create(target => target.GetSlotCursorCore<int>);
233
public
SlotCursor
GetSlotCursor(int col)
253
private
SlotCursor
GetSlotCursorCore<T>(int col)
300
private abstract class SlotCursor<T> :
SlotCursor
.RootSlotCursor
1330
private static readonly FuncStaticMethodInfo1<IChannelProvider,
SlotCursor
, DataViewRowCursor> _getRowCursorShimCoreMethodInfo
1331
= new FuncStaticMethodInfo1<IChannelProvider,
SlotCursor
, DataViewRowCursor>(GetRowCursorShimCore<int>);
1333
private static readonly FuncInstanceMethodInfo1<
SlotCursor
, Delegate> _slotCursorGetGetterMethodInfo
1334
= FuncInstanceMethodInfo1<
SlotCursor
, Delegate>.Create(target => target.GetGetter<int>);
1344
using (
var
cursor = view.GetSlotCursor(col))
1356
/// The <see cref="
SlotCursor
.GetGetter{TValue}"/> is parameterized by a type that becomes the
1367
public static ValueGetter<TValue> GetGetterWithVectorType<TValue>(this
SlotCursor
cursor, IExceptionContext ctx = null)
1387
/// <see cref="
SlotCursor
"/>, without having to rewrite all of them. This is, however, rather
1394
public static DataViewRowCursor GetRowCursorShim(IChannelProvider provider,
SlotCursor
cursor)
1402
private static DataViewRowCursor GetRowCursorShimCore<T>(IChannelProvider provider,
SlotCursor
cursor)
1468
private readonly
SlotCursor
_slotCursor;
1528
private readonly
SlotCursor
_slotCursor;
1534
public SlotRowCursorShim(IChannelProvider provider,
SlotCursor
cursor)
Transforms\LabelConvertTransform.cs (4)
196
internal override
SlotCursor
GetSlotCursorCore(int iinfo)
201
var
cursor = InputTranspose.GetSlotCursor(Infos[iinfo].Source);
205
private sealed class SlotCursorImpl :
SlotCursor
.SynchronizedSlotCursor
210
public SlotCursorImpl(IChannelProvider provider,
SlotCursor
cursor, VectorDataViewType typeDst)
Transforms\TransformBase.cs (2)
778
SlotCursor
ITransposeDataView.GetSlotCursor(int col)
804
internal virtual
SlotCursor
GetSlotCursorCore(int iinfo)
Microsoft.ML.FastTree (3)
FastTree.cs (3)
1395
using (
var
cursor = trans.GetSlotCursor(featIdx))
1462
using (
var
cursor = trans.GetSlotCursor(featIdx))
1463
using (
var
catCursor = trans.GetSlotCursor(featIdx))
Microsoft.ML.Predictor.Tests (1)
TestTransposer.cs (1)
86
using (
var
cursor = trans.GetSlotCursor(col))
Microsoft.ML.Transforms (1)
MutualInformationFeatureSelection.cs (1)
666
using (
var
cursor = trans.GetSlotCursor(col))