#25 tensorflow params dict

fallback image probably showing plantuml error image

edit

zoom

Diagram Information

Created by: admin   published
Language: Python
Repository: tensorflow/models  github
Commit: 7212436440eaa11293ca84befcc5d8327109ea76

Description:

The ParamsDict class of TensorFlow has this description:

Instantiate a ParamsDict given a set of default parameters and a list of restrictions. Upon initialization, it validates itself by checking all the defined restrictions, and raise error if it finds inconsistency.

The code is:

self._locked = False self._restrictions = [] if restrictions: self._restrictions = restrictions if default_params is None: default_params = {} self.override(default_params, is_strict=False) self.validate()

 

Modules being visualised

List of repository modules/files being visualised in the above diagram: