Browse Source

clean codedex&&bot warning

tags/v0.6.0-beta
WilliamLian 5 years ago
parent
commit
f21167c971
3 changed files with 0 additions and 4 deletions
  1. +0
    -2
      mindspore/core/ir/param_value.h
  2. +0
    -1
      mindspore/core/ir/tensor_py.cc
  3. +0
    -1
      mindspore/core/ir/tensor_py.h

+ 0
- 2
mindspore/core/ir/param_value.h View File

@@ -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_

+ 0
- 1
mindspore/core/ir/tensor_py.cc View File

@@ -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()) {


+ 0
- 1
mindspore/core/ir/tensor_py.h View File

@@ -105,7 +105,6 @@ class TensorPy {

static py::tuple GetPyTupleShape(const Tensor &tensor);
};

} // namespace tensor
} // namespace mindspore



Loading…
Cancel
Save