def ConstructionDimensions
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Coreimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
429def ConstructionDimensions(+dimensions: List<&2, U32>, result: Result<&2, &1, Error, Dynamic>) -> Type:
430 match result:
431 case Fail{error}:
432 Unit
433 case Done{Packed{+shape, tensor}}:
434 {Shape.dimensions(shape) == dimensions : List<&2, U32>}