public static class StripProvenance.StripProvenanceOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Modifier and Type | Field and Description |
---|---|
com.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType |
hashType |
File |
inputModel |
File |
outputModel |
File |
provenanceFile |
EnumSet<StripProvenance.ProvenanceTypes> |
removeProvenances |
boolean |
storeHash |
Constructor and Description |
---|
StripProvenanceOptions() |
@Option(charName=104, longName="store-provenance-hash", usage="Stores a hash of the model provenance in the stripped model.") public boolean storeHash
@Option(charName=105, longName="input-model-path", usage="The model to load.") public File inputModel
@Option(charName=111, longName="output-model-path", usage="The location to write out the stripped model.") public File outputModel
@Option(charName=112, longName="provenance-path", usage="Write out the stripped provenance as json.") public File provenanceFile
@Option(charName=114, longName="remove-provenances", usage="The provenances to remove") public EnumSet<StripProvenance.ProvenanceTypes> removeProvenances
@Option(charName=116, longName="hash-type", usage="The hash type to use.") public com.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType hashType
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.