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

Method NodesPerFeatureMap

tensorflow/stream_executor/dnn.cc:404–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404int64 BatchDescriptor::NodesPerFeatureMap() const {
405 int64 ret = 1;
406 for (int i = 0; i < ndims(); i++) {
407 ret *= spatial_size()[i];
408 }
409 return ret;
410}
411
412int64 BatchDescriptor::NodesAcrossFeatureMaps() const {
413 return NodesPerFeatureMap() * feature_map_count();

Callers 2

DoMatMulMethod · 0.80
DoMatMulMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected