| 38 | typedef typename _Vector::Float Float; |
| 39 | |
| 40 | __host__ __device__ static void forward(const Vector &vertex, const Vector &context, Float &output) { |
| 41 | output = 0; |
| 42 | FOR(i, dim) |
| 43 | output += vertex[i] * context[i]; |
| 44 | output = SUM(output); |
| 45 | } |
| 46 | |
| 47 | template<OptimizerType optimizer_type> |
| 48 | __host__ __device__ |
nothing calls this directly
no outgoing calls
no test coverage detected