MCPcopy Create free account
hub / github.com/apple/axlearn / push_data_dir

Function push_data_dir

axlearn/common/utils.py:1523–1524  ·  view source on GitHub ↗
(data_dir: Optional[str])

Source from the content-addressed store, hash-verified

1521 Raises:
1522 ValueError: If the provided dtype does not fulfil the validation check.
1523 """
1524 if dtype not in _supported_float_dtypes:
1525 raise ValueError(f"float dtype ({dtype}) must be one of {_supported_float_dtypes}.")
1526
1527

Callers 2

setUpMethod · 0.90
set_data_dirFunction · 0.85

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72