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

Function execute_primitives

tensorflow/core/util/mkl_util.h:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131static const int kSmallBatchSize = 32;
132
133inline void execute_primitives(
134 std::vector<dnnl::primitive>& primitives, std::shared_ptr<stream> stream,
135 std::vector<std::unordered_map<int, memory>>& net_args) {
136 DCHECK_EQ(primitives.size(), net_args.size());
137 for (size_t i = 0; i < primitives.size(); ++i) {
138 primitives.at(i).execute(*stream, net_args.at(i));
139 }
140}
141
142// In OneDNN v1.x, the format (ex. NCHW) used to initialize a memory descriptor
143// (md) structure will no longer be recorded in its `format` field. Instead, it

Callers 15

ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
MKLTransposeNDFunction · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85

Calls 3

sizeMethod · 0.45
executeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected