Tensorflow.js tf.any() Function
The tf.any() function is mainly used to calculate the logical OR of elements across given dimensions for tf.Tensor.
tf.all(x, axis, keepDims)
- x: the tensors to input.
- Axis: The dimension(s) to reduce.
- keepDims: If true, retains reduced elements with size 1.
Return Value: It returns tf.Tensor
Tensor [True, False]
My Personal Notes arrow_drop_up
Please Login to comment...