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