def matrices

bendtorch-core@0.1.0.0 · src/tensor/batched_matmul.bend:350

import bendtorch-core@0.1.0.0/src/tensor/batched_matmul.bend as BatchedMatmul
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

350def matrices(dims: List<&2, U32>, other: List<&2, U32>) -> Bool:
351  Bool.and(Nat.is_eq(Shape.rank_dimensions(dims), 2n), Nat.is_eq(Shape.rank_dimensions(other), 2n))

Uses (6)

Used by (2)