forked from mindspore-Ecosystem/mindspore
clean codedex&&bot warning
This commit is contained in:
parent
b13c7a3d48
commit
f21167c971
|
@ -25,7 +25,6 @@
|
|||
#include "ir/tensor.h"
|
||||
|
||||
namespace mindspore {
|
||||
|
||||
class ParamValue {
|
||||
public:
|
||||
ParamValue() {}
|
||||
|
@ -82,6 +81,5 @@ class ParamValue {
|
|||
std::vector<int32_t> be_cloned_index_;
|
||||
int32_t cloned_index_{0};
|
||||
};
|
||||
|
||||
} // namespace mindspore
|
||||
#endif // MINDSPORE_CORE_IR_PARAM_VALUE_H_
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
namespace mindspore {
|
||||
namespace tensor {
|
||||
|
||||
static TypeId GetDataType(const py::buffer_info &buf) {
|
||||
if (buf.format.size() == 1) {
|
||||
switch (buf.format.front()) {
|
||||
|
|
|
@ -105,7 +105,6 @@ class TensorPy {
|
|||
|
||||
static py::tuple GetPyTupleShape(const Tensor &tensor);
|
||||
};
|
||||
|
||||
} // namespace tensor
|
||||
} // namespace mindspore
|
||||
|
||||
|
|
Loading…
Reference in New Issue