Interface Tensor<N extends java.lang.Comparable<N>,​T extends Tensor<N,​T>>

    • Method Detail

      • components

        default long components()
        The total number of scalar components
      • dimensions

        int dimensions()
        The range of the indices that identify the scalar components. Each index of a tensor ranges over the number of dimensions.
      • isSameShape

        default boolean isSameShape​(Tensor<?,​?> other)
      • rank

        int rank()
        The total number of indices required to uniquely identify each scalar component is called the order, degree or rank of the tensor.