tensorflow::ops::Prod
tensorflow::ops::Prod
#include <math_ops.h>
Computes the product of elements across dimensions of a tensor.
Summary
Reduces input
along the dimensions given in axis
. Unless keep_dims
is true, the rank of the tensor is reduced by 1 for each entry in axis
. If keep_dims
is true, the reduced dimensions are retained with length 1.
Arguments:
- scope: A Scope object
- input: The tensor to reduce.
- axis: The dimensions to reduce.
Optional attributes (see Attrs
):
- keep_dims: If true, retain reduced dimensions with length 1.
Returns: