broadcast_all {torch} | R Documentation |
Given a list of values (possibly containing numbers), returns a list where each value is broadcasted based on the following rules:
Description
Raises value_error: if any of the values is not a numeric
instance,
a torch.*Tensor
instance, or an instance implementing torch_function
TODO: add has_torch_function((v,))
See: https://github.com/pytorch/pytorch/blob/master/torch/distributions/utils.py
Usage
broadcast_all(values)
Arguments
values |
List of:
|
[Package torch version 0.13.0 Index]