public interface BroadcastingStrategy extends ManipulationOption
Modifier and Type | Method and Description |
---|---|
<V> TensorPair<V> |
broadcast(Tensor<V> left,
Tensor<V> right,
java.util.Set<java.lang.Class<?>> excludedDimensions)
Has to broadcast the given to tensors into a new pair of tensors, that are consistent according to the
broadcasting strategy in question.
|
getMarkerInterface
<V> TensorPair<V> broadcast(Tensor<V> left, Tensor<V> right, java.util.Set<java.lang.Class<?>> excludedDimensions)
left
- the left tensor to broadcastright
- the right tensor to broadcastexcludedDimensions
- a set of dimensions, which should be excluded from broadcasting