36 references to CompressionKind
Microsoft.ML.Data (36)
DataLoadSave\Binary\BinaryLoader.cs (20)
83
public readonly
CompressionKind
Compression;
140
CompressionKind
compression, int rowsPerBlock, long lookupOffset, long metadataTocOffset)
343
CompressionKind
compression = (
CompressionKind
)reader.ReadByte();
344
bool knowCompression = Enum.IsDefined(typeof(
CompressionKind
), compression);
459
public readonly
CompressionKind
Compression;
481
CompressionKind
compression, long blockOffset, long blockSize)
497
CompressionKind
compression, long blockOffset, long blockSize)
503
ectx.Assert(Enum.IsDefined(typeof(
CompressionKind
), compression));
526
CompressionKind
compression, long blockOffset, long blockSize)
530
Contracts.Assert((codec == null) || !Enum.IsDefined(typeof(
CompressionKind
), compression));
544
CompressionKind
compression, long blockOffset, long blockSize)
556
CompressionKind
compression, long blockOffset, long blockSize)
572
CompressionKind
compression, long blockOffset, long blockSize)
595
CompressionKind
compression, long blockOffset, long blockSize)
1109
CompressionKind
compression = (
CompressionKind
)_reader.ReadByte();
1110
bool knowCompression = Enum.IsDefined(typeof(
CompressionKind
), compression);
1693
private readonly
CompressionKind
_compression;
1779
Ectx.Assert(Enum.IsDefined(typeof(
CompressionKind
), entry.Compression));
DataLoadSave\Binary\BinarySaver.cs (9)
37
public
CompressionKind
Compression =
CompressionKind
.Default;
58
private readonly
CompressionKind
_compression;
274
var metadataInfos = new List<Tuple<string, IValueCodec,
CompressionKind
>>();
299
metadataInfos.Add(Tuple.Create(metaColumn.Name, codec, (
CompressionKind
)args[5]));
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)
356
compressionKind = default(
CompressionKind
);
381
compressionKind =
CompressionKind
.None;
DataLoadSave\Binary\CompressionKind.cs (6)
34
public static Stream CompressStream(this
CompressionKind
compression, Stream stream)
38
case
CompressionKind
.None:
40
case
CompressionKind
.Deflate:
53
public static Stream DecompressStream(this
CompressionKind
compression, Stream stream)
57
case
CompressionKind
.None:
59
case
CompressionKind
.Deflate:
DataView\Transposer.cs (1)
124
args.Compression =
CompressionKind
.Default;