MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / __init__

Method __init__

dm_control/viewer/util.py:220–227  ·  view source on GitHub ↗

Instance initializer. Args: initial_value: A boolean value with the initial state of the flag.

(self, initial_value)

Source from the content-addressed store, hash-verified

218 """
219
220 def __init__(self, initial_value):
221 """Instance initializer.
222
223 Args:
224 initial_value: A boolean value with the initial state of the flag.
225 """
226 self._value = initial_value
227 super().__init__()
228
229 def toggle(self):
230 """Toggles the value True/False."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected