ModelSaveContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convenience context object for saving models to a repository, for implementors of ICanSaveModel.
public sealed class ModelSaveContext : IDisposable
type ModelSaveContext = class
interface IDisposable
Public NotInheritable Class ModelSaveContext
Implements IDisposable
- Inheritance
-
ModelSaveContext
- Implements
Remarks
This class reduces the amount of boiler plate code needed to implement ICanSaveModel. It can also be used when saving to a single stream, for implementors of Microsoft.ML.ICanSaveInBinaryFormat.
Methods
Dispose() |
When in repository mode, this disposes the Writer (but not the repository). |
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: