Overloads division operator for two tensors.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(torch_tensor), | intent(in) | :: | tensor1 | |||
type(torch_tensor), | intent(in) | :: | tensor2 |
function torch_tensor_divide(tensor1, tensor2) result(output) type(torch_tensor), intent(in) :: tensor1 type(torch_tensor), intent(in) :: tensor2 type(torch_tensor) :: output output%p = torch_tensor_divide_c(tensor1%p, tensor2%p) end function torch_tensor_divide