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

Function _replace_alpha

dm_control/manipulation/bricks.py:526–529  ·  view source on GitHub ↗
(rgba, alpha=0.3)

Source from the content-addressed store, hash-verified

524
525
526def _replace_alpha(rgba, alpha=0.3):
527 new_rgba = rgba.copy()
528 new_rgba[3] = alpha
529 return new_rgba
530
531
532def _hintify(entity, alpha=None):

Callers 1

_hintifyFunction · 0.85

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…