powered by
Minimum
torch_minimum(self, other)
(Tensor) the input tensor.
(Tensor) the second input tensor
Computes the element-wise minimum of input and other.
input
other
if (torch_is_installed()) { a <- torch_tensor(c(1, 2, -1)) b <- torch_tensor(c(3, 0, 4)) torch_minimum(a, b) }
Run the code above in your browser using DataLab