MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / Tensor

Method Tensor

mllm/core/Tensor.cpp:76–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76Tensor::Tensor(const std::shared_ptr<TensorViewImpl>& impl) : impl_(impl) {}
77
78Tensor Tensor::empty(const std::vector<int32_t>& shape, DataTypes dtype, DeviceTypes device) {
79 auto storage = TensorStorage::create(shape, dtype, device);

Callers 1

elem_addFunction · 0.45

Calls

no outgoing calls

Tested by 1

elem_addFunction · 0.36