MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / get_var

Function get_var

configure.py:290–349  ·  view source on GitHub ↗

Get boolean input from user. If var_name is not set in env, ask user to enable query_item or not. If the response is empty, use the default. Args: environ_cp: copy of the os.environ. var_name: string for name of environment variable, e.g. "TF_NEED_HDFS". query_item: string for fe

(environ_cp,
            var_name,
            query_item,
            enabled_by_default,
            question=None,
            yes_reply=None,
            no_reply=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

set_build_varFunction · 0.85
set_action_env_varFunction · 0.85

Calls 3

get_inputFunction · 0.85
stripMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected