Skip to content
fn

check_concrete_shape

void check_concrete_shape(const int & shape)

Refuses shape unless every extent is >= 0.

For an op that must turn a shape away before it dispatches: the backend sizes its work by the shape it is handed, before any tensor is built.