ChooseΒΆ
Construct an array from an index array and a list of arrays to choose from.
Abstract Signature:
Choose(a: Tensor, choices: List[Tensor])
PyTorch
API:
torch.chooseStrategy: Plugin (torch_choose_emulation)
Keras
API:
βStrategy: Custom / Partial
TensorFlow
API:
βStrategy: Custom / Partial
Apple MLX
API:
βStrategy: Custom / Partial