Create a 'masking' blob for new loss layer?

18 views
Skip to first unread message

Nicholas Dufour

unread,
Sep 10, 2015, 2:34:02 PM9/10/15
to Caffe Users
Hi All-

Two quick questions:

- What is the best way to instantiate a new blob Y for a loss layer, that will be persistent, that will be a square N x N matrix?
- Also instantiate a constant blob Z, representing another N x N matrix, that will serve as a 'masking' blob for Y, such that we modify Y to yield Y' where Y'[i, j] = Y[i, j] iff Z[i, j] and 0 otherwise.

Thanks!
Reply all
Reply to author
Forward
0 new messages