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