MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / has_value

Method has_value

deepspeed/compile/util.py:221–222  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

219 return self.env_values[name]
220
221 def has_value(self, name: str) -> bool:
222 return name in self.env_values
223
224 def clear(self) -> None:
225 self.env_values.clear()

Callers 4

bias_activationFunction · 0.80
ds_gated_activationFunction · 0.80
ragged_embedFunction · 0.80
reduceGradMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected