4 implementations of ITransposeDataView
Microsoft.ML.Data (4)
DataLoadSave\LegacyCompositeDataLoader.cs (1)
31
internal sealed class LegacyCompositeDataLoader : ILegacyDataLoader,
ITransposeDataView
DataLoadSave\Transpose\TransposeLoader.cs (1)
34
internal sealed class TransposeLoader : ILegacyDataLoader,
ITransposeDataView
DataView\Transposer.cs (1)
24
internal sealed class Transposer :
ITransposeDataView
, IDisposable
Transforms\TransformBase.cs (1)
266
internal abstract class OneToOneTransformBase : RowToRowMapperTransformBase,
ITransposeDataView
, ITransformCanSavePfa,
35 references to ITransposeDataView
Microsoft.ML.Data (35)
Commands\ShowSchemaCommand.cs (3)
95
PrintSchema(writer, args, view.Schema, view as
ITransposeDataView
);
99
PrintSchema(writer, args, data.Schema, data as
ITransposeDataView
);
117
private static void PrintSchema(TextWriter writer, Arguments args, DataViewSchema schema,
ITransposeDataView
transposeDataView)
Data\SlotCursor.cs (3)
11
/// A cursor that allows slot-by-slot access of data. This is to <see cref="
ITransposeDataView
"/>
50
/// <see cref="
ITransposeDataView
.GetSlotType"/> for the column from which this slot cursor
57
/// to the item type from <see cref="
ITransposeDataView
.GetSlotType"/>.
DataLoadSave\LegacyCompositeDataLoader.cs (4)
80
private readonly
ITransposeDataView
_tview;
429
_tview = View as
ITransposeDataView
;
601
VectorDataViewType
ITransposeDataView
.GetSlotType(int col) => _tview?.GetSlotType(col);
603
SlotCursor
ITransposeDataView
.GetSlotCursor(int col)
DataLoadSave\Transpose\TransposeLoader.cs (5)
611
VectorDataViewType
ITransposeDataView
.GetSlotType(int col)
637
SlotCursor
ITransposeDataView
.GetSlotCursor(int col)
649
DataViewType cursorType = ((
ITransposeDataView
)this).GetSlotType(col).ItemType;
738
_host.Assert((trans as
ITransposeDataView
)?.GetSlotType(0).GetValueCount() == Schema[col].Type.GetValueCount());
799
Ch.Assert(((
ITransposeDataView
)_parent).GetSlotType(col).Size == _parent._header.RowCount);
DataLoadSave\Transpose\TransposeSaver.cs (1)
100
private void SaveTransposedData(IChannel ch, Stream stream,
ITransposeDataView
data, int[] cols)
DataView\Transposer.cs (8)
34
private readonly
ITransposeDataView
_tview;
96
_tview = _view as
ITransposeDataView
;
244
var type = ((
ITransposeDataView
)this).GetSlotType(col).ItemType.RawType;
260
VectorDataViewType
ITransposeDataView
.GetSlotType(int col)
328
return ((
ITransposeDataView
)_parent).GetSlotType(_col);
1340
public static void GetSingleSlotValue<T>(this
ITransposeDataView
view, int col, ref VBuffer<T> dst)
1416
private readonly
ITransposeDataView
_data;
1424
public SlotDataView(IHostEnvironment env,
ITransposeDataView
data, int col)
Transforms\TransformBase.cs (11)
309
var
tidv = _parent.InputTranspose;
328
ITransposeDataView
transposedInput, Func<DataViewType, string> testType)
365
ITransposeDataView
transposeInput, Func<DataViewType, string> testType)
486
private protected readonly
ITransposeDataView
InputTranspose;
504
InputTranspose = Source as
ITransposeDataView
;
518
InputTranspose = Source as
ITransposeDataView
;
532
InputTranspose = Source as
ITransposeDataView
;
548
InputTranspose = Source as
ITransposeDataView
;
655
VectorDataViewType
ITransposeDataView
.GetSlotType(int col) => _bindings.GetSlotType(col);
768
/// Returns a standard exception for responding to an invalid call to <see cref="
ITransposeDataView
.GetSlotCursor"/>
778
SlotCursor
ITransposeDataView
.GetSlotCursor(int col)