Skip to content

Commit 256366b

Browse files
cNikolaoushelhamer
authored andcommitted
Fix references to plural names in API documentation
Changed each "&" character that conected the class name and the "s" character to "%", so that it is properly displayed.
1 parent fb88df3 commit 256366b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/caffe/blob.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class Blob {
246246

247247
/**
248248
* @brief Set the data_ shared_ptr to point to the SyncedMemory holding the
249-
* data_ of Blob other -- useful in Layer&s which simply perform a copy
249+
* data_ of Blob other -- useful in Layer%s which simply perform a copy
250250
* in their Forward pass.
251251
*
252252
* This deallocates the SyncedMemory holding this Blob's data_, as
@@ -255,7 +255,7 @@ class Blob {
255255
void ShareData(const Blob& other);
256256
/**
257257
* @brief Set the diff_ shared_ptr to point to the SyncedMemory holding the
258-
* diff_ of Blob other -- useful in Layer&s which simply perform a copy
258+
* diff_ of Blob other -- useful in Layer%s which simply perform a copy
259259
* in their Forward pass.
260260
*
261261
* This deallocates the SyncedMemory holding this Blob's diff_, as

include/caffe/layer.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ namespace caffe {
1717
* @brief An interface for the units of computation which can be composed into a
1818
* Net.
1919
*
20-
* Layer&s must implement a Forward function, in which they take their input
21-
* (bottom) Blob&s (if any) and compute their output Blob&s (if any).
20+
* Layer%s must implement a Forward function, in which they take their input
21+
* (bottom) Blob%s (if any) and compute their output Blob%s (if any).
2222
* They may also implement a Backward function, in which they compute the error
23-
* gradients with respect to their input Blob&s, given the error gradients with
24-
* their output Blob&s.
23+
* gradients with respect to their input Blob%s, given the error gradients with
24+
* their output Blob%s.
2525
*/
2626
template <typename Dtype>
2727
class Layer {

0 commit comments

Comments
 (0)