4 implementations of Type
Microsoft.ML.Data (4)
DataLoadSave\Binary\Codecs.cs (4)
116
public DataViewType
Type
{ get; }
784
public DataViewType
Type
{ get { return _type; } }
1184
public DataViewType
Type
{ get { return _type; } }
1281
public DataViewType
Type
{ get { return _type; } }
23 references to Type
Microsoft.ML.Data (23)
DataLoadSave\Binary\BinaryLoader.cs (3)
157
Type = Codec?.
Type
;
505
var type = codec.
Type
;
659
metadataBuilder.Add(loadedMetadataColumn.Kind, loadedMetadataColumn.Codec.
Type
, metadataGetter);
DataLoadSave\Binary\BinarySaver.cs (6)
97
Type writePipeType = typeof(WritePipe<>).MakeGenericType(col.Codec.
Type
.RawType);
722
_host.Assert(type.Equals(codec.
Type
));
754
methInfo.MakeGenericMethod(col.Codec.
Type
.RawType).Invoke(this, args);
836
return codec.
Type
;
894
type = codec.
Type
;
904
_host.Assert(typeof(T) == codec.
Type
.RawType);
DataLoadSave\Binary\Codecs.cs (6)
792
Contracts.Assert(innerCodec.
Type
== type.ItemType);
1128
var itemType = innerCodec.
Type
as PrimitiveDataViewType;
1192
Contracts.Assert(innerCodec.
Type
.RawType == type.RawType);
1241
var itemType = innerCodec.
Type
as PrimitiveDataViewType;
1289
Contracts.Assert(innerCodec.
Type
.RawType == type.RawType);
1338
var itemType = innerCodec.
Type
as PrimitiveDataViewType;
Transforms\InvertHashUtils.cs (2)
360
if (!(codec.
Type
is VectorDataViewType vectorType))
395
VectorDataViewType vectorType = (VectorDataViewType)codec.
Type
;
Transforms\ValueToKeyMappingTransformerImpl.cs (6)
533
ectx.CheckDecode(codec.
Type
is PrimitiveDataViewType);
536
return Utils.MarshalInvoke(LoadCodecCore<int>, codec.
Type
.RawType, ctx, ectx, codec, count);
550
ectx.Assert(codec.
Type
is PrimitiveDataViewType);
573
return new HashArrayImpl<T>((PrimitiveDataViewType)codec.
Type
, values);
704
host.Assert(codec.
Type
.Equals(ItemType));
705
host.Assert(codec.
Type
is PrimitiveDataViewType);