Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc1647 tensorflow::AttrValueMap attr_values; in TEST() local
1648 minOp->operation.Attrs().FillAttrValueMap(&attr_values); in TEST()
1649 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST()
1650 EXPECT_NE(attr_found, attr_values.cend()); in TEST()
1652 attr_found = attr_values.find("Tidx"); in TEST()
1653 EXPECT_NE(attr_found, attr_values.cend()); in TEST()
1687 tensorflow::AttrValueMap attr_values; in TEST() local
1688 concatOp->operation.Attrs().FillAttrValueMap(&attr_values); in TEST()
1689 tensorflow::AttrValueMap::const_iterator attr_found = attr_values.find("T"); in TEST()
1690 EXPECT_NE(attr_found, attr_values.cend()); in TEST()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc387 string attr_values; in HandleGraphMode() local
389 if (i > 0) strings::StrAppend(&attr_values, ", "); in HandleGraphMode()
391 strings::StrAppend(&attr_values, "\"", attr_name, "\", _op.get_attr(\"", in HandleGraphMode()
394 strings::StrAppend(&attr_values, ")"); in HandleGraphMode()
396 &result_, WordWrap(" _attrs = (", attr_values, kRightMargin), "\n"); in HandleGraphMode()
887 string attr_values; in AddEagerAttrs() local
889 if (i > 0) strings::StrAppend(&attr_values, ", "); in AddEagerAttrs()
891 strings::StrAppend(&attr_values, "\"", attr_name, "\", ", in AddEagerAttrs()
894 strings::StrAppend(&attr_values, ")"); in AddEagerAttrs()
897 WordWrap(indentation, strings::StrCat("_attrs = (", attr_values), in AddEagerAttrs()
/external/tensorflow/tensorflow/core/framework/
Dfunction.cc103 Status ValidateSignatureWithAttrs(const OpDef& sig, AttrSlice attr_values) { in ValidateSignatureWithAttrs() argument
106 const AttrValue* v = attr_values.Find(a.name()); in ValidateSignatureWithAttrs()
123 if (attr_values.size() != sig.attr_size()) { in ValidateSignatureWithAttrs()
124 for (const auto& a : attr_values) { in ValidateSignatureWithAttrs()
155 Status BuildInputArgIndex(const OpDef::ArgDef& arg_def, AttrSlice attr_values, in BuildInputArgIndex() argument
160 ArgNumType(attr_values, arg_def, &is_type_list, &dtypes)); in BuildInputArgIndex()
682 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values, in InstantiateFunction() argument
688 TF_RETURN_IF_ERROR(ValidateSignatureWithAttrs(sig, attr_values)); in InstantiateFunction()
697 s = helper.BuildInputArgIndex(arg_def, attr_values, ints_on_device); in InstantiateFunction()
704 auto substitute = [attr_values](StringPiece name, AttrValue* val) { in InstantiateFunction()
[all …]
Dfunction.h229 Status InstantiateFunction(const FunctionDef& fdef, AttrSlice attr_values,
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateCoverageLevels.java145 Relation<String, String> attr_values = types.get(key); in show() local
146 for (String attr : attr_values.keySet()) { in show()
148 .append(attr_values.getAll(attr)); in show()
207 Relation<String, String> attr_values = differences2.get(element); in clean() local
208 if (attr_values == null) continue; in clean()
209 for (String attr : attr_values.keySet()) { in clean()
/external/tensorflow/tensorflow/core/kernels/
Dfunction_ops.cc318 AttrValueMap attr_values = func_.attr(); in ComputeAsync() local
336 lib->Instantiate(func_.name(), AttrSlice(&attr_values), in ComputeAsync()