Searched refs:attr_values (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 1433 tensorflow::AttrValueMap attr_values; in ExtractAttrs() local 1436 operation->Attrs().FillAttrValueMap(&attr_values); in ExtractAttrs() 1437 return attr_values; in ExtractAttrs() 1456 tensorflow::AttrValueMap attr_values = ExtractAttrs(minOp); in TEST() local 1457 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST() 1458 EXPECT_NE(attr_found, attr_values.cend()); in TEST() 1460 attr_found = attr_values.find("Tidx"); in TEST() 1461 EXPECT_NE(attr_found, attr_values.cend()); in TEST() 1495 tensorflow::AttrValueMap attr_values = ExtractAttrs(concatOp); in TEST() local 1496 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen.cc | 555 string attr_values; in HandleGraphMode() local 557 if (i > 0) strings::StrAppend(&attr_values, ", "); in HandleGraphMode() 560 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode() 563 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode() 566 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode() 569 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode() 573 strings::StrAppend(&attr_values, ")"); in HandleGraphMode() 575 WordWrap(" _attrs = (", attr_values, kRightMargin), in HandleGraphMode() 1102 string attr_values; in AddEagerAttrs() local 1104 if (i > 0) strings::StrAppend(&attr_values, ", "); in AddEagerAttrs() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateCoverageLevels.java | 146 Relation<String, String> attr_values = types.get(key); in show() local 147 for (String attr : attr_values.keySet()) { in show() 149 .append(attr_values.getAll(attr)); in show() 208 Relation<String, String> attr_values = differences2.get(element); in clean() local 209 if (attr_values == null) continue; in clean() 210 for (String attr : attr_values.keySet()) { in clean()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function.cc | 118 Status ValidateSignatureWithAttrs(const OpDef& sig, AttrSlice attr_values) { in ValidateSignatureWithAttrs() argument 121 const AttrValue* v = attr_values.Find(a.name()); in ValidateSignatureWithAttrs() 138 if (attr_values.size() != sig.attr_size()) { in ValidateSignatureWithAttrs() 139 for (const auto& a : attr_values) { in ValidateSignatureWithAttrs() 172 Status BuildInputArgIndex(const OpDef::ArgDef& arg_def, AttrSlice attr_values, in BuildInputArgIndex() argument 178 ArgNumType(attr_values, arg_def, &is_type_list, &dtypes)); in BuildInputArgIndex() 709 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values, in InstantiateFunction() argument 724 TF_RETURN_IF_ERROR(ValidateSignatureWithAttrs(sig, attr_values)); in InstantiateFunction() 742 s = helper.BuildInputArgIndex(arg_def, attr_values, arg_attrs, in InstantiateFunction() 751 auto substitute = [attr_values](StringPiece name, AttrValue* val) { in InstantiateFunction() [all …]
|
D | function.h | 242 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values,
|
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/ |
D | lstm_utils_test.cc | 81 mlir::StringAttr attr_values = in createLstmCompositeFunc() local 84 func->setAttr(kTFImplements, attr_values); in createLstmCompositeFunc()
|