- read-config port checkpointprocedure
Reads the configuration header from the little-endian endian-port port. checkpoint is the file name, used in error messages. A negative vocabulary size in the header marks a checkpoint whose classifier weights are stored separately; the returned configuration then has a positive vocabulary size and shared-weights false.