|
|
|
@ -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>
|
|
|
|
|
|
|
|
|
@ -43,4 +44,4 @@ All parameter, weight, gradient are variables in Paddle.
|
|
|
|
|
py::return_value_policy::reference);
|
|
|
|
|
|
|
|
|
|
return m.ptr();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|