MCPcopy Create free account
hub / github.com/BVLC/caffe / caffe_memset

Function caffe_memset

include/caffe/util/math_functions.hpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40void caffe_set(const int N, const Dtype alpha, Dtype *X);
41
42inline void caffe_memset(const size_t N, const int alpha, void* X) {
43 memset(X, alpha, N); // NOLINT(caffe/alt_fn)
44}
45
46template <typename Dtype>
47void caffe_add_scalar(const int N, const Dtype alpha, Dtype *X);

Callers 2

to_cpuMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68