3 interfaces inheriting from ICanSaveOnnx
Microsoft.ML.Data (3)
Model\Onnx\ICanSaveOnnx.cs (3)
27
internal interface ISaveAsOnnx :
ICanSaveOnnx
50
internal interface IBindableCanSaveOnnx :
ICanSaveOnnx
, ISchemaBindableMapper
75
internal interface ISingleCanSaveOnnx :
ICanSaveOnnx
25 references to ICanSaveOnnx
Microsoft.ML.Data (25)
DataView\RowToRowMapperTransform.cs (2)
91
bool
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)
305
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => (_mapper as
ICanSaveOnnx
)?.CanSaveOnnx(ctx) == true;
750
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => (_bindable as
ICanSaveOnnx
)?.CanSaveOnnx(ctx) == true;
796
Host.Check(((
ICanSaveOnnx
)this).CanSaveOnnx(ctx), "Called despite not being savable");
1186
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => true;
1702
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => true;
Prediction\CalibratorCatalog.cs (2)
247
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => _calibrator is
ICanSaveOnnx
onnxMapper ? onnxMapper.CanSaveOnnx(ctx) : false;
Scorers\GenericScorer.cs (2)
147
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => (Bindable as
ICanSaveOnnx
)?.CanSaveOnnx(ctx) == true;
Scorers\MulticlassClassificationScorer.cs (3)
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 (2)
273
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => (Bindable as
ICanSaveOnnx
)?.CanSaveOnnx(ctx) == true;
Scorers\SchemaBindablePredictorWrapper.cs (2)
49
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => (ValueMapper as
ICanSaveOnnx
)?.CanSaveOnnx(ctx) == true;
Transforms\Hashing.cs (1)
1476
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => true;
Transforms\TransformBase.cs (2)
493
bool
ICanSaveOnnx
.CanSaveOnnx(OnnxContext ctx) => CanSaveOnnxCore;
606
Host.Assert(((
ICanSaveOnnx
)this).CanSaveOnnx(ctx));