| @@ -25,7 +25,6 @@ | |||||
| #include "ir/tensor.h" | #include "ir/tensor.h" | ||||
| namespace mindspore { | namespace mindspore { | ||||
| class ParamValue { | class ParamValue { | ||||
| public: | public: | ||||
| ParamValue() {} | ParamValue() {} | ||||
| @@ -82,6 +81,5 @@ class ParamValue { | |||||
| std::vector<int32_t> be_cloned_index_; | std::vector<int32_t> be_cloned_index_; | ||||
| int32_t cloned_index_{0}; | int32_t cloned_index_{0}; | ||||
| }; | }; | ||||
| } // namespace mindspore | } // namespace mindspore | ||||
| #endif // MINDSPORE_CORE_IR_PARAM_VALUE_H_ | #endif // MINDSPORE_CORE_IR_PARAM_VALUE_H_ | ||||
| @@ -28,7 +28,6 @@ | |||||
| namespace mindspore { | namespace mindspore { | ||||
| namespace tensor { | namespace tensor { | ||||
| static TypeId GetDataType(const py::buffer_info &buf) { | static TypeId GetDataType(const py::buffer_info &buf) { | ||||
| if (buf.format.size() == 1) { | if (buf.format.size() == 1) { | ||||
| switch (buf.format.front()) { | switch (buf.format.front()) { | ||||
| @@ -105,7 +105,6 @@ class TensorPy { | |||||
| static py::tuple GetPyTupleShape(const Tensor &tensor); | static py::tuple GetPyTupleShape(const Tensor &tensor); | ||||
| }; | }; | ||||
| } // namespace tensor | } // namespace tensor | ||||
| } // namespace mindspore | } // namespace mindspore | ||||