def tensor_read_dimensions
bendtorch-core@0.1.0.0 · src/tensor/elementwise_PROOF.bend:137
import bendtorch-core@0.1.0.0/src/tensor/elementwise_PROOF.bend as ElementwisePROOF
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
import bendtorch-core@0.1.0.0/src/tensor/elementwise_totality.bend as Totality
137def tensor_read_dimensions(+shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>) ->
138 {Totality.inspect(Totality.Dimensions{}, Core.Packed{shape, tensor_read_owner(shape, pair)}) == Totality.Dims{Shape.dimensions(shape)} : Totality.Inspection}:
139 (owner, result) = pair
140 {==}