holoscan::detail::safe_tensor_element_bytes
holoscan::detail::safe_tensor_element_bytes
Compute product of shape dimensions * bytes_per_element with overflow detection.
Returns 0 on overflow or if bytes_per_element is 0.
holoscan::detail::safe_tensor_element_bytes
Compute product of shape dimensions * bytes_per_element with overflow detection.
Returns 0 on overflow or if bytes_per_element is 0.