Skip to main content

validate_batch_size

Function validate_batch_size 

Source
pub fn validate_batch_size(
    shape: &[usize],
    tensor_name: &str,
) -> Result<usize, OCRError>
Expand description

Validates that tensor batch size is positive.