type ConstructionWitness
bendtorch-core@0.1.0.0 · src/tensor/construction_totality.bend:21
import bendtorch-core@0.1.0.0/src/tensor/construction_totality.bend as ConstructionTotality
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
21type ConstructionWitness<-dimensions: List<&2, U32>, -result: Result<&2, &1, Core.Error, Core.Dynamic>> is Data:
22 ConstructionWitness{
23 -shape: Shape.Shape,
24 -tensor: Core.Tensor<shape>,
25 -same: {Done{Core.Packed{shape, tensor}} == result : Result<&2, &1, Core.Error, Core.Dynamic>},
26 -preserved: {Shape.dimensions(shape) == dimensions : List<&2, U32>}}