def test_empty_model_size(max_depth):
    """Test empty model size is zero."""
    model = EmptyModule()
    summary = summarize(model, max_depth=max_depth)
    assert summary.model_size == 0.0
Test empty model size is zero.
tests/tests_pytorch/utilities/test_model_summary.py