all(keepRank:)
Computes logical AND on elements across all axes of a tensor where the scalar type of the tensor is expected to be Boolean.
Declaration
func all(keepRank: Bool = false) -> MLTensorParameters
- keepRank:
A Boolean indicating whether to keep the reduced axes or not. The default value is
false.
Return Value
The reduced Boolean tensor.