1 interface inheriting from IValueCodec
Microsoft.ML.Data (1)
DataLoadSave\Binary\IValueCodec.cs (1)
48
internal interface IValueCodec<T> :
IValueCodec
61 references to IValueCodec
Microsoft.ML.Data (61)
DataLoadSave\Binary\BinaryLoader.cs (11)
72
public readonly
IValueCodec
Codec;
139
public TableOfContentsEntry(BinaryLoader parent, int index, string name,
IValueCodec
codec,
339
IValueCodec
codec;
453
public abstract
IValueCodec
Codec { get; }
496
public static MetadataTableOfContentsEntry Create(BinaryLoader parent, string kind,
IValueCodec
codec,
525
public static MetadataTableOfContentsEntry CreateDead(BinaryLoader parent, string kind,
IValueCodec
codec,
539
private readonly
IValueCodec
_codec;
541
public override
IValueCodec
Codec { get { return _codec; } }
543
public ImplDead(BinaryLoader parent, string kind,
IValueCodec
codec,
592
public override
IValueCodec
Codec { get { return _codec; } }
1105
IValueCodec
codec;
DataLoadSave\Binary\BinarySaver.cs (17)
31
private static readonly FuncInstanceMethodInfo1<BinarySaver, Stream,
IValueCodec
, object> _loadValueMethodInfo
32
= FuncInstanceMethodInfo1<BinarySaver, Stream,
IValueCodec
, object>.Create(target => target.LoadValue<int>);
73
public readonly
IValueCodec
Codec;
75
public ColumnCodec(int sourceIndex,
IValueCodec
codec)
274
var metadataInfos = new List<Tuple<string,
IValueCodec
, CompressionKind>>();
289
IValueCodec
codec = (
IValueCodec
)methInfo.MakeGenericMethod(metaColumn.Type.RawType).Invoke(this, args);
348
private delegate
IValueCodec
WriteMetadataCoreDelegate(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compression);
350
private
IValueCodec
WriteMetadataCore<T>(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compressionKind)
353
IValueCodec
generalCodec;
639
IValueCodec
codec;
719
IValueCodec
codec;
810
IValueCodec
codec;
833
IValueCodec
codec;
853
IValueCodec
codec;
886
IValueCodec
codec;
902
private object LoadValue<T>(Stream stream,
IValueCodec
codec)
DataLoadSave\Binary\CodecFactory.cs (8)
21
private readonly Dictionary<Type,
IValueCodec
> _simpleCodecTypeMap;
31
private delegate bool GetCodecFromStreamDelegate(Stream definitionStream, out
IValueCodec
codec);
33
private delegate bool GetCodecFromTypeDelegate(DataViewType type, out
IValueCodec
codec);
46
_simpleCodecTypeMap = new Dictionary<Type,
IValueCodec
>();
100
public bool TryGetCodec(DataViewType type, out
IValueCodec
codec)
116
public int WriteCodec(Stream definitionStream,
IValueCodec
codec)
154
public bool TryReadCodec(Stream definitionStream, out
IValueCodec
codec)
169
codec = default(
IValueCodec
);
DataLoadSave\Binary\Codecs.cs (18)
130
public bool GetCodec(Stream definitionStream, out
IValueCodec
codec)
1118
private bool GetVBufferCodec(Stream definitionStream, out
IValueCodec
codec)
1121
IValueCodec
innerCodec;
1124
codec = default(
IValueCodec
);
1152
codec = (
IValueCodec
)Activator.CreateInstance(codecType, this, type, innerCodec);
1156
private bool GetVBufferCodec(VectorDataViewType type, out
IValueCodec
codec)
1160
IValueCodec
innerCodec;
1163
codec = default(
IValueCodec
);
1168
codec = (
IValueCodec
)Activator.CreateInstance(codecType, this, type, innerCodec);
1231
private bool GetKeyCodecOld(Stream definitionStream, out
IValueCodec
codec)
1234
IValueCodec
innerCodec;
1265
codec = (
IValueCodec
)Activator.CreateInstance(codecType, this, type, innerCodec);
1328
private bool GetKeyCodec(Stream definitionStream, out
IValueCodec
codec)
1331
IValueCodec
innerCodec;
1353
codec = (
IValueCodec
)Activator.CreateInstance(codecType, this, type, innerCodec);
1357
private bool GetKeyCodec(DataViewType type, out
IValueCodec
codec)
1362
IValueCodec
innerCodec;
1370
codec = (
IValueCodec
)Activator.CreateInstance(codecType, this, type, innerCodec);
DataLoadSave\Binary\IValueCodec.cs (2)
89
/// be spawned from an <seealso cref="
IValueCodec
"/>, its write methods called some
114
/// spawned form an <seealso cref="
IValueCodec
"/>. Its read methods will be called some
Transforms\InvertHashUtils.cs (2)
353
IValueCodec
codec;
392
IValueCodec
codec;
Transforms\ValueToKeyMappingTransformerImpl.cs (3)
530
IValueCodec
codec;
543
private static TermMap LoadCodecCore<T>(ModelLoadContext ctx, IExceptionContext ectx,
IValueCodec
codec, int count)
700
IValueCodec
codec;