6 instantiations of CodecFactory
Microsoft.ML.Data (6)
DataLoadSave\Binary\BinaryLoader.cs (2)
779
_factory = new
CodecFactory
(_host);
869
_factory = new
CodecFactory
(_host);
DataLoadSave\Binary\BinarySaver.cs (1)
202
_factory = new
CodecFactory
(_host, _memPool);
Transforms\InvertHashUtils.cs (2)
466
factory = new
CodecFactory
(host);
491
CodecFactory factory = new
CodecFactory
(host);
Transforms\ValueToKeyMappingTransformer.cs (1)
190
Interlocked.CompareExchange(ref _codecFactory, new
CodecFactory
(Host, _codecFactoryPool), null);
30 references to CodecFactory
Microsoft.ML.Data (30)
DataLoadSave\Binary\BinaryLoader.cs (1)
673
private readonly
CodecFactory
_factory;
DataLoadSave\Binary\BinarySaver.cs (1)
55
private readonly
CodecFactory
_factory;
DataLoadSave\Binary\Codecs.cs (18)
23
protected readonly
CodecFactory
Factory;
29
public ValueWriterBase(
CodecFactory
factory, Stream stream)
67
protected readonly
CodecFactory
Factory;
73
public ValueReaderBase(
CodecFactory
factory, Stream stream)
114
protected readonly
CodecFactory
Factory;
121
public SimpleCodec(
CodecFactory
factory, DataViewType type)
167
public UnsafeTypeCodec(
CodecFactory
factory)
298
public TextCodec(
CodecFactory
factory)
408
public BoolCodec(
CodecFactory
factory)
512
public OldBoolCodec(
CodecFactory
factory)
575
public DateTimeCodec(
CodecFactory
factory)
648
public DateTimeOffsetCodec(
CodecFactory
factory)
775
private readonly
CodecFactory
_factory;
786
public VBufferCodec(
CodecFactory
factory, VectorDataViewType type, IValueCodec<T> innerCodec)
1177
private readonly
CodecFactory
_factory;
1186
public KeyCodecOld(
CodecFactory
factory, KeyDataViewType type, IValueCodec<T> innerCodec)
1274
private readonly
CodecFactory
_factory;
1283
public KeyCodec(
CodecFactory
factory, KeyDataViewType type, IValueCodec<T> innerCodec)
Transforms\InvertHashUtils.cs (4)
339
private static void Load(IChannel ch, ModelLoadContext ctx,
CodecFactory
factory, ref VBuffer<ReadOnlyMemory<char>> values)
379
private static void Save(IChannel ch, ModelSaveContext ctx,
CodecFactory
factory, in VBuffer<ReadOnlyMemory<char>> values)
454
CodecFactory
factory = null;
491
CodecFactory
factory = new CodecFactory(host);
Transforms\ValueToKeyMappingTransformer.cs (2)
181
private volatile
CodecFactory
_codecFactory;
183
private
CodecFactory
CodecFactory
Transforms\ValueToKeyMappingTransformerImpl.cs (4)
510
internal abstract void Save(ModelSaveContext ctx, IHostEnvironment host,
CodecFactory
codecFactory);
512
internal static TermMap Load(ModelLoadContext ctx, IHostEnvironment ectx,
CodecFactory
codecFactory)
619
internal override void Save(ModelSaveContext ctx, IHostEnvironment host,
CodecFactory
codecFactory)
692
internal override void Save(ModelSaveContext ctx, IHostEnvironment host,
CodecFactory
codecFactory)