Merge pull request #4560 from reyoung/fix_compile_error_on_clang

Fix MacOS compile error
tonyyang-svail-feed-op-desgin
Yu Yang 8 years ago committed by GitHub
commit e4d20110f6

@ -47,13 +47,6 @@ class TensorArray {
// max number of values allowed to store.
const size_t MAX_SIZE{100000};
/*
* Inputs:
* - value_shared: share memory between tensors.
*/
explicit TensorArray(bool values_shared = true)
: values_shared_(values_shared) {}
/*
* Read the value at location `index` in the `TensorArray`.
*/
@ -111,7 +104,6 @@ class TensorArray {
private:
mutable std::vector<LoDTensor> values_;
bool values_shared_;
}; // class TensorArray
} // namespace framework

Loading…
Cancel
Save