Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dast_opt.c48 make_const(expr_ty node, PyObject *val, PyArena *arena) in make_const() function
125 return make_const(node, newval, arena); in fold_unaryop()
309 return make_const(node, newval, arena); in fold_binop()
345 return make_const(node, newval, arena); in fold_tuple()
368 return make_const(node, newval, arena); in fold_subscr()
392 return make_const(arg, newval, arena); in fold_iter()
611 return make_const(node_, PyBool_FromLong(!optimize_), ctx_); in astfold_expr()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc433 auto make_const = [&node_builder](const Input::Initializer& val, Graph* graph, in StackTensor() local
452 TF_RETURN_IF_ERROR(make_const({0}, g, &const_vec_0)); in StackTensor()
454 TF_RETURN_IF_ERROR(make_const({1}, g, &const_vec_1)); in StackTensor()
481 TF_RETURN_IF_ERROR(make_const(0, g, &const_0)); in StackTensor()