Home
last modified time | relevance | path

Searched refs:attr_values (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc561 string attr_values; in HandleGraphMode() local
563 if (i > 0) strings::StrAppend(&attr_values, ", "); in HandleGraphMode()
566 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode()
569 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode()
572 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode()
575 strings::StrAppend(&attr_values, "\"", attr_name, in HandleGraphMode()
579 strings::StrAppend(&attr_values, ")"); in HandleGraphMode()
581 WordWrap(" _attrs = (", attr_values, kRightMargin), in HandleGraphMode()
1111 string attr_values; in AddEagerAttrs() local
1113 if (i > 0) strings::StrAppend(&attr_values, ", "); in AddEagerAttrs()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc1546 tensorflow::AttrValueMap attr_values; in ExtractAttrs() local
1549 operation->Attrs().FillAttrValueMap(&attr_values); in ExtractAttrs()
1550 return attr_values; in ExtractAttrs()
1569 tensorflow::AttrValueMap attr_values = ExtractAttrs(minOp); in TEST() local
1570 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST()
1571 EXPECT_NE(attr_found, attr_values.cend()); in TEST()
1573 attr_found = attr_values.find("Tidx"); in TEST()
1574 EXPECT_NE(attr_found, attr_values.cend()); in TEST()
1608 tensorflow::AttrValueMap attr_values = ExtractAttrs(concatOp); in TEST() local
1609 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateCoverageLevels.java146 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/
Dfunction.cc120 Status ValidateSignatureWithAttrs(const OpDef& sig, AttrSlice attr_values) { in ValidateSignatureWithAttrs() argument
124 const AttrValue* attr_value = attr_values.FindByString(attr.name()); in ValidateSignatureWithAttrs()
142 if (attr_values.size() != sig.attr_size()) { in ValidateSignatureWithAttrs()
143 for (const auto& a : attr_values) { in ValidateSignatureWithAttrs()
176 Status BuildInputArgIndex(const OpDef::ArgDef& arg_def, AttrSlice attr_values, in BuildInputArgIndex() argument
183 ArgNumType(attr_values, arg_def, &is_type_list, &dtypes)); in BuildInputArgIndex()
737 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values, in InstantiateFunction() argument
752 TF_RETURN_IF_ERROR(ValidateSignatureWithAttrs(sig, attr_values)); in InstantiateFunction()
755 attr_values.Find(FunctionLibraryDefinition::kIntsOnDeviceAttr); in InstantiateFunction()
774 s = helper.BuildInputArgIndex(arg_def, attr_values, arg_attrs, in InstantiateFunction()
[all …]
Dfunction.h260 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values,
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dlstm_utils_test.cc83 mlir::StringAttr attr_values = in createLstmCompositeFunc() local
86 func->setAttr(kTFImplements, attr_values); in createLstmCompositeFunc()