载入中...
搜索中...
未找到
GpuGraph.cpp
浏览该文件的文档.
42 int matmul(int a, int b) { return node(OpType::MatMul, g.node(a).dims[0], g.node(b).dims[1], a, b); }
74 const int w1 = matrix(0, n1, h, f + 1), w2 = matrix(n1, n2, h, h + 1), w3 = matrix(n1 + n2, n3, a, h + 1);
std::array< std::uint64_t, kPixelChunkSize *kPixelChunkSize > updated
Definition PixelWorld.cpp:53
Definition Learning.h:10
PolicyGraph makePolicyGraph(int f, int h, int a, bool training)
Make policy graph.
Definition GpuGraph.cpp:65
Result< std::vector< int32_t > > matmul(ByteView a, ByteView b, size_t m, size_t k, size_t n, int aZero, int bZero, OnnxCompute *compute)
Integer row-major [M,K] x [K,N], subtracting scalar zero points.
Definition AffineQuant.cpp:80
void concat(const float *const *ins, const int *const *inDims, const int *inRanks, int n, int axis, float *out, const int *outDims, int outRank)
Concat.
Definition CpuKernels.cpp:336