def ProductWith
bendtorch-core@0.1.0.0 · src/autograd/tensor_vjp_LAWS.bend:43
import bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_LAWS.bend as TensorVjpLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/storage/LAWS.bend as StorageLaws
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
import bendtorch-core@0.1.0.0/src/tensor/contracts/binary_LAWS.bend as Binary
43
44
45
46def ProductWith(+operation: Elementwise.Operation, +plan: Shape.BroadcastPlan,
47 +left: Shape.Shape, +left_fill: F32, +left_ops: List<&2, StorageLaws.Op>,
48 +right: Shape.Shape, +right_fill: F32, +right_ops: List<&2, StorageLaws.Op>,
49 -P: (Core.Dynamic & Core.Dynamic) & Result<&2, &1, Core.Error, Core.Dynamic> -> Type) -> Type:
50 Binary.BinaryWith(operation, plan, left, left_fill, left_ops, right, right_fill, right_ops, P)