1 write to Outputs
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
290Outputs = (options.OutputColumns.Count() == 0) ? Model.ModelInfo.OutputNames.ToArray() : options.OutputColumns;
23 references to Outputs
Microsoft.ML.OnnxTransformer (23)
OnnxTransform.cs (23)
126/// It's also possible that the <see cref="Outputs"/> contains less variables than ONNX model's output list. 127/// For each name in <see cref="Outputs"/>, an output tensor with the same name can be found in the underlying ONNX model. 131/// Types of <see cref="Outputs"/>. The i-th element is the type of the i-th output in <see cref="Outputs"/>. 291OutputTypes = new DataViewType[Outputs.Length]; 293for (int i = 0; i < Outputs.Length; i++) 295var outputInfo = Model.ModelInfo.GetOutput(Outputs[i]); 431Host.CheckNonEmpty(Outputs, nameof(Outputs)); 432ctx.Writer.Write(Outputs.Length); 433foreach (var colName in Outputs) 477return Model.ModelInfo.OutputNames.IndexOf(Outputs[iinfo]); 569var info = new DataViewSchema.DetachedColumn[_parent.Outputs.Length]; 570for (int i = 0; i < _parent.Outputs.Length; i++) 572var onnxOutputName = _parent.Outputs[i]; 610return col => Enumerable.Range(0, _parent.Outputs.Length).Any(i => activeOutput(i)) && _inputColIndices.Any(i => i == col); 622var activeOutputColNames = _parent.Outputs.Where((x, i) => activeOutput(i)).ToArray(); 716var namedOnnxValue = outputCacher.Outputs[_parent.Outputs[iinfo]]; 736var namedOnnxValue = outputCacher.Outputs[_parent.Outputs[iinfo]]; 760var namedOnnxValue = outputCacher.Outputs[_parent.Outputs[iinfo]]; 1083for (var i = 0; i < Transformer.Outputs.Length; i++) 1085resultDic[Transformer.Outputs[i]] = new SchemaShape.Column(Transformer.Outputs[i],