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

Class Sum

tensorflow/core/kernels/scan_ops_gpu.h:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118template <typename T>
119struct Sum {
120 __host__ __device__ T operator()(const T& a, const T& b) const {
121 return a + b;
122 }
123};
124
125template <typename T>
126struct Prod {

Callers 15

operator()Method · 0.70
operator()Method · 0.70
ComputeMethod · 0.70
TESTFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
BroadcastToGradFunction · 0.50
TEST_FFunction · 0.50
SoftmaxGradFunction · 0.50

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TESTFunction · 0.40
CreateGraphDefFunction · 0.40