# product

`import { product } from "destack:tensor";`

Multiply elements of `tensor` along the axes in `axisSet`.

```ds title="product"
export declare function product<T, const Rank: usize, const AxisCount: usize, const OutRank: usize = Rank - AxisCount>(tensor: Tensor<T, Rank>, axisSet: AxisSet<AxisCount>, options?: TensorReduceOptions<T, OutRank> | undefined): Tensor<T, OutRank>
```

[language/library/src/tensor/ops.ds:245:254](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/ops.ds#L245-L254)
