caldera.utils.tensor_is_empty

caldera.utils.tensor_is_empty(x)[source]

Return whether the tensor is empty.

Parameters

x (Tensor) –

Return type

bool