Class StripProvenance.StripProvenanceOptions

java.lang.Object
org.tribuo.json.StripProvenance.StripProvenanceOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
Enclosing class:
StripProvenance

public static class StripProvenance.StripProvenanceOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
  • Field Details

    • storeHash

      @Option(charName='h', longName="store-provenance-hash", usage="Stores a hash of the model provenance in the stripped model.") public boolean storeHash
      Stores a hash of the model provenance in the stripped model.
    • inputModel

      @Option(charName='i', longName="input-model-path", usage="The model to load.") public File inputModel
      The model to load.
    • outputModel

      @Option(charName='o', longName="output-model-path", usage="The location to write out the stripped model.") public File outputModel
      The location to write out the stripped model.
    • provenanceFile

      @Option(charName='p', longName="provenance-path", usage="Write out the stripped provenance as json.") public File provenanceFile
      Write out the stripped provenance as json.
    • removeProvenances

      @Option(charName='r', longName="remove-provenances", usage="The provenances to remove") public EnumSet<StripProvenance.ProvenanceTypes> removeProvenances
      The provenances to remove
    • hashType

      @Option(charName='t', longName="hash-type", usage="The hash type to use.") public com.oracle.labs.mlrg.olcut.provenance.ProvenanceUtil.HashType hashType
      The hash type to use.
    • protobuf

      @Option(longName="model-protobuf", usage="Read and write protobuf formatted models.") public boolean protobuf
      Read and write protobuf formatted models.
  • Constructor Details

    • StripProvenanceOptions

      public StripProvenanceOptions()
  • Method Details

    • getOptionsDescription

      public String getOptionsDescription()
      Specified by:
      getOptionsDescription in interface com.oracle.labs.mlrg.olcut.config.Options