File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,6 @@ PYBIND11_PLUGIN(core) {
167
167
.def (" set_lod" ,
168
168
[](LoDTensor &self, const std::vector<std::vector<size_t >> &lod) {
169
169
// the input lod is offset-based level-of-detail info
170
- LOG (WARNING)
171
- << " set_lod is deprecated and will be removed by 9.2018, "
172
- " please switch to set_recursive_sequence_lengths." ;
173
170
LoD new_lod;
174
171
new_lod.reserve (lod.size ());
175
172
std::copy (lod.begin (), lod.end (), std::back_inserter (new_lod));
@@ -196,8 +193,6 @@ PYBIND11_PLUGIN(core) {
196
193
.def (" lod" ,
197
194
[](LoDTensor &self) -> std::vector<std::vector<size_t >> {
198
195
// output the offset-based lod info
199
- LOG (WARNING) << " lod is deprecated and will be removed by 9.2018, "
200
- " please switch to recursive_sequence_lengths." ;
201
196
LoD lod = self.lod ();
202
197
std::vector<std::vector<size_t >> new_lod;
203
198
new_lod.reserve (lod.size ());
You can’t perform that action at this time.
0 commit comments