Interface BroadcastingStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • broadcast

        <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.
        Parameters:
        left - the left tensor to broadcast
        right - the right tensor to broadcast
        excludedDimensions - a set of dimensions, which should be excluded from broadcasting
        Returns:
        the result of the broadcasting