8 references to InRepository
Microsoft.ML.Core (8)
Data\ModelSaveContext.cs (4)
157
_ectx.Check(
InRepository
, "Can't save a text stream when writing to a single stream");
173
_ectx.Check(
InRepository
, "Can't save a text stream when writing to a single stream");
250
_ectx.Assert((_ent == null) == !
InRepository
);
253
if (
InRepository
)
Data\ModelSaving.cs (4)
15
/// Save a sub model to the given sub directory. This requires <see cref="
InRepository
"/> to be <see langword="true"/>.
21
_ectx.Check(
InRepository
, "Can't save a sub-model when writing to a single stream");
75
/// <see cref="
InRepository
"/> to be <see langword="true"/>.
80
_ectx.Check(
InRepository
, "Can't save a sub-model when writing to a single stream");