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

Method ReplaceWith

tensorflow/lite/kernels/internal/types.h:231–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 inline void ReplaceWith(int dimensions_count, const int32* dims_data) {
232 Resize(dimensions_count);
233 int32* dst_dims = DimsData();
234 std::memcpy(dst_dims, dims_data, dimensions_count * sizeof(int32));
235 }
236
237 template <typename T>
238 inline void BuildFrom(const T& src_iterable) {

Callers

nothing calls this directly

Calls 1

ResizeFunction · 0.50

Tested by

no test coverage detected