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

Method NewValue

tensorflow/lite/delegates/gpu/common/model.h:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 }
219
220 Value<TensorT>* NewValue() final {
221 ValueDef def;
222 def.value = absl::make_unique<Value<TensorT>>(
223 Value<TensorT>{static_cast<ValueId>(values_.size()), {}});
224 Value<TensorT>* value = def.value.get();
225 values_.push_back(std::move(def));
226 return value;
227 }
228
229 std::vector<Value<TensorT>*> FindInputs(NodeId id) const final {
230 if (id >= nodes_.size()) {

Callers 14

SingleOpModelMethod · 0.80
NewPassthroughNodeFunction · 0.80
ReadValueByTensorIdxMethod · 0.80
NewConstNodeFunction · 0.80
ParseMethod · 0.80
TESTFunction · 0.80
AddOutputFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 3

sizeMethod · 0.45
getMethod · 0.45
push_backMethod · 0.45

Tested by 9

SingleOpModelMethod · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64