2 writes to Bindable
Microsoft.ML.Data (2)
Scorers\RowToRowScorerBase.cs (2)
45
Bindable
= bindable;
52
ctx.LoadModel<ISchemaBindableMapper, SignatureLoadModel>(host, out
Bindable
, "SchemaBindableMapper");
20 references to Bindable
Microsoft.ML.Data (20)
Scorers\BinaryClassifierScorer.cs (1)
187
Host.Assert(
Bindable
is IBindableCanSaveOnnx);
Scorers\GenericScorer.cs (8)
145
bool ICanSavePfa.CanSavePfa => (
Bindable
as ICanSavePfa)?.CanSavePfa == true;
147
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (
Bindable
as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
171
: base(env, data, RegistrationName, transform.
Bindable
)
184
_bindings = Bindings.Create(ctx, host,
Bindable
, input.Schema);
213
Host.Assert(
Bindable
is IBindableCanSavePfa);
214
var pfaBindable = (IBindableCanSavePfa)
Bindable
;
228
Host.Assert(
Bindable
is IBindableCanSaveOnnx);
229
var onnxBindable = (IBindableCanSaveOnnx)
Bindable
;
Scorers\PredictedLabelScorerBase.cs (10)
271
bool ICanSavePfa.CanSavePfa => (
Bindable
as ICanSavePfa)?.CanSavePfa == true;
273
bool ICanSaveOnnx.CanSaveOnnx(OnnxContext ctx) => (
Bindable
as ICanSaveOnnx)?.CanSaveOnnx(ctx) == true;
304
: base(env, newSource, registrationName, transform.
Bindable
)
306
Bindings = transform.Bindings.ApplyToSchema(newSource.Schema,
Bindable
, env);
320
Bindings = BindingsImpl.Create(ctx, input.Schema, host,
Bindable
, outputTypeMatches, getPredColType);
333
Host.Assert(
Bindable
is IBindableCanSavePfa);
334
var pfaBindable = (IBindableCanSavePfa)
Bindable
as IBindableCanSavePfa;
366
Host.Assert(
Bindable
is IBindableCanSaveOnnx);
367
var onnxBindable = (IBindableCanSaveOnnx)
Bindable
;
451
(
Bindable
as IDisposable)?.Dispose();
Scorers\RowToRowScorerBase.cs (1)
59
ctx.SaveModel(
Bindable
, "SchemaBindableMapper");