MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetFromTensorFlow

Method SetFromTensorFlow

tensorflow/lite/delegates/flex/buffer_map.cc:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void BufferMap::SetFromTensorFlow(int tensor_index, tensorflow::Tensor tensor) {
178 id_to_tensor_[tensor_index] = std::move(tensor);
179 owned_by_tf_.insert(tensor_index);
180}
181
182} // namespace flex
183} // namespace tflite

Callers 2

PersistEagerOutputsMethod · 0.80
TESTFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by 1

TESTFunction · 0.64