Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OUCMachineLearning/OUCML
/ str2bool
Function
str2bool
GAN/Self_attention_GAN_tensorflow/utils.py:127–128 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
125
slim.model_analyzer.analyze_vars(model_vars, print_info=True)
126
127
def
str2bool(x):
128
return
x.lower() in (
'true'
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected