MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / QTensor

Method QTensor

src/codec.h:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 size_t size = 0; // size in bytes
112
113 QTensor() = default;
114 QTensor(Quant quant, std::array<int, 4> shape, void* data, size_t size) : quant(quant), shape(shape), data(data), size(size) {}
115 QTensor(const QTensor& other) = default;
116 static QTensor from_codec_tensor(const Tensor& tensor, Quant weight_quant, std::array<int, 4> shape, const int debug_line);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected