2 writes to _type
Microsoft.ML.Data (2)
Scorers\MulticlassClassificationScorer.cs (2)
125
_type
= type;
142
_type
= type as VectorDataViewType;
11 references to _type
Microsoft.ML.Data (11)
Scorers\MulticlassClassificationScorer.cs (11)
89
public VectorDataViewType Type =>
_type
;
143
_host.CheckDecode(
_type
!= null);
145
_getter = Utils.MarshalInvoke(_decodeInitMethodInfo, this,
_type
.ItemType.RawType, value);
187
Utils.MarshalActionInvoke(SaveCore<int>,
_type
.ItemType.RawType, ctx);
193
Contracts.Assert(
_type
.ItemType.RawType == typeof(T));
202
if (!saver.TryWriteTypeAndValue<VBuffer<T>>(ctx.Writer.BaseStream,
_type
, ref val, out bytesWritten))
203
throw _host.Except("We do not know how to serialize label names of type '{0}'",
_type
.ItemType);
208
return new LabelNameBindableMapper(_host, inner,
_type
, _getter, _metadataKind, _canWrap);
232
if (_canWrap != null && !_canWrap(innerBound,
_type
))
235
return Utils.MarshalInvoke(CreateBound<int>,
_type
.ItemType.RawType, env, (ISchemaBoundRowMapper)innerBound,
_type
, _getter, _metadataKind, _canWrap);