Skip to content

Commit

Permalink
Merge pull request #2819 from luotao1/compile
Browse files Browse the repository at this point in the history
fix pybind compile question
  • Loading branch information
luotao1 authored Jul 12, 2017
2 parents 0a32008 + e0ea87c commit 9695eb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paddle/pybind/pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

#include <Python.h>
#include <paddle/framework/scope.h>
#include <pybind11/pybind11.h>

Expand Down Expand Up @@ -43,4 +44,4 @@ All parameter, weight, gradient are variables in Paddle.
py::return_value_policy::reference);

return m.ptr();
}
}

0 comments on commit 9695eb9

Please sign in to comment.