Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Jul 17, 2015
1 parent e3de4df commit 6325cc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/mxnet/operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ namespace mxnet {
*/
class Operator {
public:
/*!
* \brief construct Operator from StaticOperator and Context
* \param op StaticOperator to wrap
* \param ctx Context of the Operator
*/
Operator(StaticOperator* op, Context ctx);
/*!
* \brief get types of input argument of this oeprator
Expand Down Expand Up @@ -61,6 +66,10 @@ class Operator {
virtual void InferShape(std::vector<TShape> *in_shape,
std::vector<TShape> *out_shape);

/*!
* \brief set the context of the Operator
* \param ctx the context to be set to
*/
virtual void SetContext(Context ctx);
/*!
* \brief perform a forward operation of operator, save the output to TBlob
Expand Down

0 comments on commit 6325cc4

Please sign in to comment.