Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <kpu@users.noreply.github.com>2021-04-28 15:28:50 +0300
committerGitHub <noreply@github.com>2021-04-28 15:28:50 +0300
commit36b4b69d7bbbe5e58cef4499011bef29feebf8b3 (patch)
tree26f65367018de89cd5d76cf61c37cef1abded2e4
parent1c8ee95a544788deea2b5eaa217d9e864b606204 (diff)
Remove unused memoized_ variable (#852)
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/graph/expression_graph.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dafb1ae2..b03a0706 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Developer documentation framework based on Sphinx+Doxygen+Breathe+Exhale
- Expresion graph documentation (#788)
- Graph operators documentation (#801)
+- Remove unused variable from expression graph
## [1.10.0] - 2021-02-06
diff --git a/src/graph/expression_graph.h b/src/graph/expression_graph.h
index adc0aeae..fce7d532 100644
--- a/src/graph/expression_graph.h
+++ b/src/graph/expression_graph.h
@@ -145,8 +145,6 @@ protected: // (these are protected, not private, for ONNX exporting)
Ptr<Tensors> tensors_;
private:
- std::unordered_map<size_t, std::vector<Expr>> memoized_;
-
Type defaultElementType_{Type::float32}; // Type used for storing parameters, currently all parameters have to have the same type
bool inferenceOnly_{false}; // a flag holds whether the graph is used for inference only