Home
last modified time | relevance | path

Searched refs:cf_opts (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_optimizer.cc67 ConstantFoldingOptions cf_opts; in Optimize() local
68 cf_opts.shape_map = shape_map; in Optimize()
69 cf_opts.consider = cf_consider_fn; in Optimize()
71 cf_opts.max_constant_size_in_bytes = in Optimize()
75 ConstantFold(cf_opts, runtime, env, device, g, &was_mutated) in Optimize()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_lib.cc297 ConstantFoldingOptions cf_opts; in FoldConstants() local
298 cf_opts.shape_map = &shape_map; in FoldConstants()
311 cf_opts.consider = [excluded_ops, excluded_nodes](const Node* n) { in FoldConstants()
318 "max_constant_size_in_bytes", cf_opts.max_constant_size_in_bytes, in FoldConstants()
319 &cf_opts.max_constant_size_in_bytes)); in FoldConstants()
323 TF_RETURN_IF_ERROR(ConstantFold(cf_opts, nullptr, Env::Default(), nullptr, in FoldConstants()