Home
last modified time | relevance | path

Searched refs:numpy_split_copy (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcustom_op_db.py289 grad_xs = torch.ops._torch_testing.numpy_split_copy(grad_out, splits, dim)
309 def numpy_split_copy(x: Tensor, splits: Sequence[int], dim: int) -> List[Tensor]: function
314 @numpy_split_copy.register_fake
326 numpy_split_copy.register_autograd(numpy_split_copy_backward, setup_context=numpy_split_copy_setup_…
331 result = numpy_split_copy(x, splits, dim + 1)
334 numpy_split_copy.register_vmap(numpy_split_copy_vmap)
516 op=torch.ops._torch_testing.numpy_split_copy,