Home
last modified time | relevance | path

Searched refs:op_attrs (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.cc577 std::unordered_map<string, const OpDef::AttrDef*> op_attrs; in ValidateNodeDef() local
579 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) { in ValidateNodeDef()
590 auto iter = op_attrs.find(attr.first); in ValidateNodeDef()
591 if (iter == op_attrs.end()) { in ValidateNodeDef()
614 op_attrs.erase(iter); in ValidateNodeDef()
618 if (!op_attrs.empty()) { in ValidateNodeDef()
620 for (const auto& attr_pair : op_attrs) { in ValidateNodeDef()
625 "NodeDef missing attr", op_attrs.size() == 1 ? " '" : "s '", attrs, in ValidateNodeDef()
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Doperation_checker.h50 const AttrValue* attr = node->op_attrs("data_format"); in Check()
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py1170 op_attrs = {
1178 op_attrs[xla_compile_attr] = f.definition.attr[xla_compile_attr]
1179 op = graph.create_op(op_name, args, tout, name=op_name, attrs=op_attrs)
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_node.h690 const AttrValue* op_attrs(const string& name) const { in op_attrs() function