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

Function ElementwiseOperationString

tensorflow/stream_executor/dnn.cc:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144string ElementwiseOperationString(ElementwiseOperation op) {
145 switch (op) {
146 case ElementwiseOperation::kAdd:
147 return "add";
148 case ElementwiseOperation::kMultiply:
149 return "multiply";
150 default:
151 LOG(FATAL) << "Unknown elementwise op " << static_cast<int32>(op);
152 }
153 return "unknown element wise op";
154}
155
156string DataLayoutString(DataLayout layout) {
157 switch (layout) {

Callers 1

ToVlogStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected