Fix MacOS compile error

The private data `tensor_shared_` is not used.
tonyyang-svail-feed-op-desgin
Yu Yang 7 years ago
parent 3d6d293ac9
commit 9ff1fd41b2

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