Skip to content

Commit

Permalink
Blacklist the quantized ops since they have too many issues (incorrec…
Browse files Browse the repository at this point in the history
…t shape

functions, memory corruptions, ...)

PiperOrigin-RevId: 159772801
  • Loading branch information
benoitsteiner authored and tensorflower-gardener committed Jun 22, 2017
1 parent 52581df commit 436eacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/grappler/optimizers/constant_folding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ string AsControlDependency(const NodeDef& node) {
ConstantFolding::ConstantFolding() {
ops_to_preserve_ = std::regex(
"Placeholder.*|Const|.*Save.*|.*Restore.*|.*Reader|Enter|Exit|"
"NextIteration");
"NextIteration|.*Quantized.*");
}

string ConstantFolding::AddControlDependency(const string& input_name) {
Expand Down

0 comments on commit 436eacd

Please sign in to comment.