Searched refs:cf_opts (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_optimizer.cc | 67 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/ |
D | fold_constants_lib.cc | 297 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()
|