2 writes to _ectx
Microsoft.ML.Core (2)
Data\ModelSaveContext.cs (2)
89_ectx = rep.ExceptionContext; 124_ectx = ectx;
18 references to _ectx
Microsoft.ML.Core (18)
Data\ModelSaveContext.cs (14)
91_ectx.CheckValueOrNull(dir); 92_ectx.CheckNonEmpty(name, nameof(name)); 125_ectx.CheckValue(writer, nameof(writer)); 139_ectx.Check(Writer.BaseStream.Position == FpMin + Header.FpModel); 157_ectx.Check(InRepository, "Can't save a text stream when writing to a single stream"); 158_ectx.CheckNonEmpty(name, nameof(name)); 159_ectx.CheckValue(action, nameof(action)); 173_ectx.Check(InRepository, "Can't save a text stream when writing to a single stream"); 174_ectx.CheckNonEmpty(name, nameof(name)); 175_ectx.CheckValue(action, nameof(action)); 206_ectx.CheckValue(str, nameof(str)); 223_ectx.CheckParam(!string.IsNullOrEmpty(str), nameof(str)); 240_ectx.Check(Header.ModelSignature != 0, "ModelSignature not specified!"); 250_ectx.Assert((_ent == null) == !InRepository);
Data\ModelSaving.cs (4)
21_ectx.Check(InRepository, "Can't save a sub-model when writing to a single stream"); 80_ectx.Check(InRepository, "Can't save a sub-model when writing to a single stream"); 81_ectx.CheckNonEmpty(dir, nameof(dir)); 82_ectx.CheckValue(fn, nameof(fn));