matmul.hpp 243 Bytes
Newer Older
1
2
3
4
5
6
7
#pragma once

#include "../device.hpp"
#include "common/op.hpp"

namespace infinicore::op {

8
9
Tensor matmul(Tensor a, Tensor b, float alpha = 1.0f);
void matmul_(Tensor c, Tensor a, Tensor b, float alpha = 1.0f);
10

11
} // namespace infinicore::op