MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _tf_deterministic_ops

Function _tf_deterministic_ops

tensorflow/python/ops/nn_ops.py:2727–2735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2725
2726
2727def _tf_deterministic_ops():
2728 if _tf_deterministic_ops.value is None:
2729 tf_deterministic_ops = os.environ.get('TF_DETERMINISTIC_OPS')
2730 if tf_deterministic_ops is not None:
2731 tf_deterministic_ops = tf_deterministic_ops.lower()
2732 _tf_deterministic_ops.value = (
2733 tf_deterministic_ops == 'true' or
2734 tf_deterministic_ops == '1')
2735 return _tf_deterministic_ops.value
2736_tf_deterministic_ops.value = None
2737
2738

Callers 1

bias_addFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected