|View source on GitHub|
Parses the encoded key to keys and weights.
tfr.utils.parse_keys_and_weights( key: str ) -> Dict[str, float]
This parse function will remove all spaces. Different keys are split by "," and then weight associated with key is split by ":".
||A string represents a key, or a string of multiple keys, split by ",", and weighted by the weights split by ":". For example, key = 'softmax_loss:0.9,sigmoid_cross_entropy_loss:0.1'.|
|A dict from keys to weights.|