Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Distribution.ModelPackage Module Reference

Classes

class  Mila::Distribution::ModelPackage
 Everything a published or installable model is, as a directory. More...
struct  Mila::Distribution::PackageRequest
 One model's files, as a caller hands them to the packager. More...
struct  Mila::Distribution::PackageValidation
 What validation found. More...

Functions

ModelPackage Mila::Distribution::buildPackage (const PackageRequest &request)
 Assemble a package.
std::string Mila::Distribution::sha256OfFile (const std::filesystem::path &path)
 Digest a file on disk.

Variables

constexpr std::string_view Mila::Distribution::kManifestFileName = "mila.json"
 The manifest's name at a package root and at a hub repository root. One name, both places.

Files

file  Mila/Src/Distribution/ModelPackage.ixx
 A package directory: the manifest, the files it declares, and whether they agree.