22 implementations of CanSaveOnnx
Microsoft.ML.Data (22)
DataView\RowToRowMapperTransform.cs (1)
91
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => _mapper is ICanSaveOnnx onnxMapper ? onnxMapper.CanSaveOnnx(ctx) : false;
Prediction\Calibrator.cs (4)
305
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (_mapper as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
750
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
1186
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => true;
1702
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => true;
Prediction\CalibratorCatalog.cs (1)
247
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => _calibrator is ICanSaveOnnx onnxMapper ? onnxMapper.CanSaveOnnx(ctx) : false;
Scorers\GenericScorer.cs (1)
147
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Scorers\MulticlassClassificationScorer.cs (1)
91
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Scorers\PredictedLabelScorerBase.cs (1)
273
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Scorers\SchemaBindablePredictorWrapper.cs (1)
49
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => (ValueMapper as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Transforms\ColumnConcatenatingTransformer.cs (1)
425
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\ColumnCopying.cs (1)
204
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\ColumnSelecting.cs (1)
731
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\Hashing.cs (1)
1476
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\KeyToValue.cs (1)
578
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\KeyToVector.cs (1)
610
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\Normalizer.cs (1)
724
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\SlotsDroppingTransformer.cs (1)
877
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\TransformBase.cs (1)
493
bool ICanSaveOnnx.
CanSaveOnnx
(OnnxContext ctx) => CanSaveOnnxCore;
Transforms\TypeConverting.cs (1)
390
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\ValueMapping.cs (1)
1034
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
Transforms\ValueToKeyMappingTransformer.cs (1)
712
public bool
CanSaveOnnx
(OnnxContext ctx) => true;
15 references to CanSaveOnnx
Microsoft.ML.Data (15)
DataView\RowToRowMapperTransform.cs (2)
91
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => _mapper is ICanSaveOnnx onnxMapper ? onnxMapper.
CanSaveOnnx
(ctx) : false;
222
Host.Check(onnx.
CanSaveOnnx
(ctx), "Cannot be saved as ONNX.");
Model\Onnx\ICanSaveOnnx.cs (1)
53
/// Save as ONNX. If <see cref="ICanSaveOnnx.
CanSaveOnnx
"/> is
Prediction\Calibrator.cs (4)
305
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_mapper as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
391
if (!(calibrator?.
CanSaveOnnx
(ctx) == true && calibrator.SaveAsOnnx(ctx, new[] { outputNames[1], outputNames[2] }, featureColumnName)))
750
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
796
Host.Check(((ICanSaveOnnx)this).
CanSaveOnnx
(ctx), "Called despite not being savable");
Prediction\CalibratorCatalog.cs (2)
247
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => _calibrator is ICanSaveOnnx onnxMapper ? onnxMapper.
CanSaveOnnx
(ctx) : false;
273
Host.Check(onnx.
CanSaveOnnx
(ctx), "Cannot be saved as ONNX.");
Scorers\GenericScorer.cs (1)
147
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
Scorers\MulticlassClassificationScorer.cs (2)
91
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
224
Contracts.Check(((ICanSaveOnnx)this).
CanSaveOnnx
(ctx), "Cannot be saved as ONNX.");
Scorers\PredictedLabelScorerBase.cs (1)
273
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
Scorers\SchemaBindablePredictorWrapper.cs (1)
49
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (ValueMapper as ICanSaveOnnx)?.
CanSaveOnnx
(ctx) == true;
Transforms\TransformBase.cs (1)
606
Host.Assert(((ICanSaveOnnx)this).
CanSaveOnnx
(ctx));