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

Method isCacheInputOutputTensor

mllm/compile/ir/Node.cpp:261–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259DeviceTypes IRContext::getDevice() { return device_type_; }
260
261bool IRContext::isCacheInputOutputTensor(size_t uuid) {
262 if (cached_inputs_outputs_.count(uuid)) { return true; }
263 return false;
264}
265
266void IRContext::cacheInputOutputTensor(size_t uuid, const val_ptr_t& tensor_ir) { cached_inputs_outputs_[uuid] = tensor_ir; }
267

Callers 1

wrapTensors2TensorIRFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected