MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / Append

Method Append

mlx/data/buffer/Append.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace buffer {
8
9Append::Append(
10 const std::shared_ptr<Buffer>& buffer1,
11 const std::shared_ptr<Buffer>& buffer2)
12 : buffer1_(buffer1), buffer2_(buffer2) {}
13
14Sample Append::get(int64_t idx) const {
15 int64_t size1 = buffer1_->size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected