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

Method AddConstInput

tensorflow/lite/kernels/test_util.h:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 // Templated version of AddConstInput().
167 template <typename T>
168 int AddConstInput(const TensorData& t, std::initializer_list<T> data) {
169 int id = AddTensor(t, data);
170 inputs_.push_back(id);
171 return id;
172 }
173 template <typename T>
174 int AddConstInput(TensorType type, std::initializer_list<T> data,
175 std::initializer_list<int> shape) {

Callers 4

PadV2OpConstModelMethod · 0.80
PadV2OpDynamicModelMethod · 0.80
PadV2OpConstModelMethod · 0.80
PadV2OpDynamicModelMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected