Skip to content
fn

trapezoid

→Tensor
trapezoid(y: Tensor, x: Tensor | None = ..., dx: _float | None = ..., dim: _int = ...)