Lines Matching full:meshgrid
35 "meshgrid",
418 def meshgrid( function
425 def meshgrid(*tensors, indexing: Optional[str] = None) -> Tuple[Tensor, ...]: function
443 `torch.meshgrid(*tensors)` currently has the same behavior
444 as calling `numpy.meshgrid(*arrays, indexing='ij')`.
446 In the future `torch.meshgrid` will transition to
486 >>> grid_x, grid_y = torch.meshgrid(x, y, indexing='ij')
502 `torch.meshgrid` is commonly used to produce a grid for
509 >>> x, y = torch.meshgrid(xs, ys, indexing='xy')
515 .. image:: ../_static/img/meshgrid.png
524 return handle_torch_function(meshgrid, tensors, *tensors, indexing=indexing)
534 return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]