Commit e39109d1 authored by Nick Korovaiko's avatar Nick Korovaiko Committed by Scott Cyphers

add python dir to check-code-format and re-run apply-code-format on it (#680)

* add python dir to check-code-format and re-run apply-code-format on it

* 0644 -> 0755
parent db6419de
......@@ -47,9 +47,10 @@ pushd "${THIS_SCRIPT_DIR}/.."
declare ARGON_SRC_DIR="build/third-party/argon_transformer/src/ext_argon_transformer/src"
declare ARGON_TEST_DIR="build/third-party/argon_transformer/src/ext_argon_transformer/test"
declare PYBIND_WRAPPER="python/pyngraph"
declare ROOT_SUBDIR
for ROOT_SUBDIR in src test ${ARGON_SRC_DIR} ${ARGON_TEST_DIR}; do
for ROOT_SUBDIR in src test ${ARGON_SRC_DIR} ${ARGON_TEST_DIR} ${PYBIND_WRAPPER}; do
if ! [[ -d "${ROOT_SUBDIR}" ]]; then
bash_lib_status "In directory '$(pwd)', no subdirectory named '${ROOT_SUBDIR}' was found."
else
......
......@@ -41,7 +41,8 @@ void regclass_pyngraph_op_BatchNormBackprop(py::module m)
std::shared_ptr<ngraph::op::BatchNormBackprop>,
ngraph::op::util::RequiresTensorViewArgs>
batch_norm_backprop(m, "BatchNormBackprop");
batch_norm_backprop.doc() = "ngraph.impl.op.BatchNormBackprop wraps ngraph::op::BatchNormBackprop";
batch_norm_backprop.doc() =
"ngraph.impl.op.BatchNormBackprop wraps ngraph::op::BatchNormBackprop";
batch_norm_backprop.def(py::init<double,
const std::shared_ptr<ngraph::Node>&,
const std::shared_ptr<ngraph::Node>&,
......
......@@ -21,6 +21,7 @@ namespace py = pybind11;
void regmodule_pyngraph_passes(py::module m)
{
py::module m_passes = m.def_submodule("passes", "Package ngraph.impl.passes wraps ngraph::passes");
py::module m_passes =
m.def_submodule("passes", "Package ngraph.impl.passes wraps ngraph::passes");
regclass_pyngraph_passes_Manager(m_passes);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment