Skip to content

check_consistent_length

Module: strata.utils • Kind: function
Source: strata/utils/validation.mojo

def check_consistent_length[T1: Copyable, T2: Copyable](
a: List[T1],
b: List[T2],
)
def check_consistent_length[dtype: DType, T: Copyable](
X: Matrix[dtype],
y: List[T],
)

Overload Note: This function provides multiple overloaded signatures.

from strata.utils import check_consistent_length