concatenate_valid#

bayesflow.utils.concatenate_valid(tensors: Sequence[Tensor | None], axis: int = 0) Tensor | None[source]#

Concatenate multiple tensors along axis, ignoring None values.