Skip to content
Snippets Groups Projects

Synthetic collection generation

2 files
+ 145
83
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -55,7 +55,7 @@ def blob(
"""
if not isinstance(final_shape, tuple) or len(final_shape) != 3:
raise TypeError("Size must be a tuple")
raise TypeError("Size must be a tuple of 3 dimensions")
if not np.issubdtype(dtype, np.number):
raise ValueError("Invalid data type")
Loading