module documentation
Undocumented
| Function | extract |
Extract an NN Archive. |
| Function | inspect |
Print NN Archive configuration. |
| Variable | app |
Undocumented |
@app.command
def extract(path: Annotated[ Path, Parameter( validator=validators.Path( exists=True))], destination: Annotated[ Path | None, Parameter( name=(--dest), alias=(-d))] = None):
¶
Extract an NN Archive.
Extracts the NN Archive to the destination path. By default, the Archive is extracted to the current working directory.
| Parameters | |
path:Annotated[ | Path to the NN Archive. |
destination:Annotated[ | Path where to extract the Archive. If not provided, the Archive is extracted to the current working directory. |
@app.command
def inspect(path: Annotated[ Path, Parameter( validator=validators.Path( exists=True))], *, inputs: Annotated[ bool, Parameter( alias=-i, negative='')] = False, metadata: Annotated[ bool, Parameter( alias=-m, negative='')] = False, outputs: Annotated[ bool, Parameter( alias=-o, negative='')] = False, heads: Annotated[ bool, Parameter( alias=-h, negative='')] = False, buildinfo: Annotated[ bool, Parameter( alias=-b, negative='')] = False):
¶
Print NN Archive configuration.
If no options are provided, all info is printed.
| Parameters | |
path:Annotated[ | Path to the NN Archive. |
inputs:Annotated[ | Print inputs info. |
metadata:Annotated[ | Print metadata. |
outputs:Annotated[ | Print outputs info. |
heads:Annotated[ | Print heads info. |
buildinfo:Annotated[ | Print build info if available. |