def matmul_second

bendtorch-core@0.1.0.0 · src/autograd/tensor_backward.bend:354

import bendtorch-core@0.1.0.0/src/autograd/tensor_backward.bend as TensorBackward
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

354def matmul_second(+b: Nat, +right: Shape.Shape, x: Core.Dynamic, g: Core.Dynamic,
355  pair: Core.Dynamic & Result<&2, &1, Error, Contribution>) -> Pass:
356  (y, first) = pair
357  matmul_third(b, right, first, y, x, Core.clone_dynamic(g))

Uses (11)

Used by (2)