3 interfaces inheriting from ICanSaveOnnx
Microsoft.ML.Data (3)
Model\Onnx\ICanSaveOnnx.cs (3)
27internal interface ISaveAsOnnx : ICanSaveOnnx 50internal interface IBindableCanSaveOnnx : ICanSaveOnnx, ISchemaBindableMapper 75internal interface ISingleCanSaveOnnx : ICanSaveOnnx
25 references to ICanSaveOnnx
Microsoft.ML.Data (25)
DataView\RowToRowMapperTransform.cs (2)
91bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => _mapper is ICanSaveOnnx onnxMapper ? onnxMapper.CanSaveOnnx(ctx) : false;
Model\Onnx\ICanSaveOnnx.cs (1)
53/// Save as ONNX. If <see cref="ICanSaveOnnx.CanSaveOnnx"/> is
Model\Onnx\OnnxContext.cs (1)
16/// same context object is iteratively given to exportable components via the <see cref="ICanSaveOnnx"/> interface
Prediction\Calibrator.cs (7)
305bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_mapper as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true; 750bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true; 796Host.Check(((ICanSaveOnnx)this).CanSaveOnnx(ctx), "Called despite not being savable"); 1186bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => true; 1702bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => true;
Prediction\CalibratorCatalog.cs (2)
247bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => _calibrator is ICanSaveOnnx onnxMapper ? onnxMapper.CanSaveOnnx(ctx) : false;
Scorers\GenericScorer.cs (2)
147bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Scorers\MulticlassClassificationScorer.cs (3)
91bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (_bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true; 224Contracts.Check(((ICanSaveOnnx)this).CanSaveOnnx(ctx), "Cannot be saved as ONNX.");
Scorers\PredictedLabelScorerBase.cs (2)
273bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (Bindable as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Scorers\SchemaBindablePredictorWrapper.cs (2)
49bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (ValueMapper as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
Transforms\Hashing.cs (1)
1476bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => true;
Transforms\TransformBase.cs (2)
493bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => CanSaveOnnxCore; 606Host.Assert(((ICanSaveOnnx)this).CanSaveOnnx(ctx));