Skip to content

Add kwargs to pytorch_numpy_unification #3624

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
As we already added kwargs to the ascontiguousarray utility, I checked all the other utilities in pytorch_numpy_unification, these items also have useful additional args of PyTorch Tensor:
https://pytorch.org/docs/stable/generated/torch.quantile.html?highlight=torch%20quantile#torch.quantile
https://pytorch.org/docs/stable/generated/torch.cumsum.html?highlight=torch%20cumsum#torch.cumsum
https://pytorch.org/docs/stable/generated/torch.searchsorted.html?highlight=torch%20searchsorted#torch.searchsorted
https://pytorch.org/docs/stable/generated/torch.repeat_interleave.html?highlight=torch%20repeat_interleave#torch.repeat_interleave
Would be nice to also add kwargs for them.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions