Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ format_shape
Function
format_shape
tensorflow/python/keras/utils/vis_utils.py:182–183 ·
view source on GitHub ↗
(shape)
Source
from the content-addressed store, hash-verified
180
if
show_shapes:
181
182
def
format_shape(shape):
183
return
str(shape).replace(str(None),
'?'
)
184
185
try
:
186
outputlabels = format_shape(layer.output_shape)
Callers
1
model_to_dot
Function · 0.85
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected