Class MixedTensor.UnboundBuilder

  • All Implemented Interfaces:
    Tensor.Builder
    Enclosing class:
    MixedTensor

    public static class MixedTensor.UnboundBuilder
    extends MixedTensor.Builder
    Temporarily stores all cells to find bounds of indexed dimensions, then creates a tensor using BoundBuilder. This is due to the fact that for serialization the size of the dense subspace must be known, and equal for all dense subspaces. A side effect is that the tensor type is effectively changed, such that unbound indexed dimensions become bound.