Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
192
def
_FirstNotNone(l):
193
for
x in l:
194
if
x is not None:
195
return
x
196
return
None
197
198
199
def
_NotNone(v):
Callers
7
_FilterTuple
Function · 0.85
_FilterInt
Function · 0.85
_FilterFloat
Function · 0.85
_FilterComplex
Function · 0.85
_FilterStr
Function · 0.85
_FilterBool
Function · 0.85
_Assertconvertible
Function · 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…