Caffe2 - C++ API
A deep learning, cross platform ML framework
feed_blob_op.cc
1 
17 #include "caffe2/operators/feed_blob_op.h"
18 
19 namespace caffe2 {
20 REGISTER_CPU_OPERATOR(FeedBlob, FeedBlobOp<CPUContext>);
21 SHOULD_NOT_DO_GRADIENT(FeedBlob);
22 
23 OPERATOR_SCHEMA(FeedBlob)
24  .NumInputs(0, 0)
25  .NumOutputs(1, 1)
26  .SetDoc(R"DOC(
27 FeedBlobs the content of the blobs. The input and output blobs should be
28 one-to-one inplace.)DOC")
29  .Arg(
30  "value",
31  "(string) if provided then we will use this string as the value for the"
32  "provided output tensor");
33 
34 } // namespace caffe2
Copyright (c) 2016-present, Facebook, Inc.