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