MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / _FirstNotNone

Function _FirstNotNone

tensorboard/util/tensor_util.py:192–196  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

190
191
192def _FirstNotNone(l):
193 for x in l:
194 if x is not None:
195 return x
196 return None
197
198
199def _NotNone(v):

Callers 7

_FilterTupleFunction · 0.85
_FilterIntFunction · 0.85
_FilterFloatFunction · 0.85
_FilterComplexFunction · 0.85
_FilterStrFunction · 0.85
_FilterBoolFunction · 0.85
_AssertconvertibleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…