Asserts that the given value matches the given shape.
Optional
ShapeMismatchError if value does not match the shape.
ShapeMismatchError
value
Asserts that the given value matches the given shape.