4 implementations of IValueCodec
Microsoft.ML.Data (4)
DataLoadSave\Binary\Codecs.cs (4)
112
private abstract class SimpleCodec<T> :
IValueCodec
<T>
764
private sealed class VBufferCodec<T> :
IValueCodec
<VBuffer<T>>
1172
private sealed class KeyCodecOld<T> :
IValueCodec
<T>
1269
private sealed class KeyCodec<T> :
IValueCodec
<T>
32 references to IValueCodec
Microsoft.ML.Data (32)
DataLoadSave\Binary\BinaryLoader.cs (7)
555
public ImplOne(BinaryLoader parent, string kind,
IValueCodec
<T> codec,
571
public ImplVec(BinaryLoader parent, string kind,
IValueCodec
<VBuffer<T>> codec,
589
private readonly
IValueCodec
<T> _codec;
594
protected MetadataTableOfContentsEntry(BinaryLoader parent, string kind,
IValueCodec
<T> codec,
1692
private readonly
IValueCodec
<T> _codec;
1778
Ectx.Assert(entry.Codec is
IValueCodec
<T>);
1781
_codec = (
IValueCodec
<T>)entry.Codec;
DataLoadSave\Binary\BinarySaver.cs (10)
111
private readonly
IValueCodec
<T> _codec;
119
var
codec = col.Codec as
IValueCodec
<T>;
359
IValueCodec
<T> codec = (
IValueCodec
<T>)generalCodec;
782
IValueCodec
<T> codec = col.Codec as
IValueCodec
<T>;
860
IValueCodec
<T> codecT = (
IValueCodec
<T>)codec;
906
using (var reader = ((
IValueCodec
<T>)codec).OpenReader(stream, 1))
DataLoadSave\Binary\Codecs.cs (6)
778
private readonly
IValueCodec
<T> _innerCodec;
786
public VBufferCodec(CodecFactory factory, VectorDataViewType type,
IValueCodec
<T> innerCodec)
1180
private readonly
IValueCodec
<T> _innerCodec;
1186
public KeyCodecOld(CodecFactory factory, KeyDataViewType type,
IValueCodec
<T> innerCodec)
1277
private readonly
IValueCodec
<T> _innerCodec;
1283
public KeyCodec(CodecFactory factory, KeyDataViewType type,
IValueCodec
<T> innerCodec)
Transforms\InvertHashUtils.cs (4)
363
var
textCodec = (
IValueCodec
<VBuffer<ReadOnlyMemory<char>>>)codec;
398
IValueCodec
<VBuffer<ReadOnlyMemory<char>>> textCodec = (
IValueCodec
<VBuffer<ReadOnlyMemory<char>>>)codec;
Transforms\ValueToKeyMappingTransformerImpl.cs (5)
549
ectx.Assert(codec is
IValueCodec
<T>);
553
IValueCodec
<T> codecT = (
IValueCodec
<T>)codec;
707
IValueCodec
<T> codecT = (
IValueCodec
<T>)codec;