law broadcast_mapping

bendtorch-core@0.1.0.0 · src/autograd/broadcast_LAWS.bend:68

import bendtorch-core@0.1.0.0/src/autograd/broadcast_LAWS.bend as BroadcastLAWS
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/autograd/broadcast.bend as Broadcast

68# On success the output has the target's dimensions, and each in-bounds output
69# position observes the input at the offset that the independent broadcast
70# projection specification assigns to it.
71law broadcast_mapping:
72  for input: Core.Dynamic
73  for +target: Shape.Shape
74  MappingModel<input, target, Broadcast.broadcast_to(input, target)>

Uses (9)

Used by (0)

No other definition uses this definition.