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

Method has_data

deepspeed/compile/input_storage.py:180–187  ·  view source on GitHub ↗

Check if storage contains inputs Returns: True if inputs are stored, False otherwise

(self)

Source from the content-addressed store, hash-verified

178 return self._materialize_value(self._stored_inputs)
179
180 def has_data(self) -> bool:
181 """
182 Check if storage contains inputs
183
184 Returns:
185 True if inputs are stored, False otherwise
186 """
187 return self._has_data
188
189 def clear(self) -> None:
190 """Clear stored inputs"""

Callers 2

_get_fw_real_inputsFunction · 0.45
has_comm_dataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected