law reshape_contract
import bendtorch-core@0.1.0.0/src/tensor/transform_contract_LAWS.bend as TransformContractLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/transform_records.bend as Records
9law reshape_contract:
10 for +input: Shape.Shape
11 for +fill: F32
12 for +target: Shape.Shape
13 for same: {Shape.logical_numel(Shape.dimensions(input)) == Shape.logical_numel(Shape.dimensions(target)) : Nat}
14 Records.ReshapeContract<input, fill, target>
Uses (7)
Used by (0)
No other definition uses this definition.