Home
last modified time | relevance | path

Searched refs:new_attrs (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/tools/
Dkeyboard.py109 new_attrs = copy.deepcopy(old_attrs)
110 new_attrs[tty.LFLAG] = new_attrs[tty.LFLAG] & ~(termios.ICANON)
111 new_attrs[tty.CC][tty.VMIN] = 1
112 new_attrs[tty.CC][tty.VTIME] = 0
113 termios.tcsetattr(fd, termios.TCSAFLUSH, new_attrs)
/external/tensorflow/tensorflow/core/framework/
Dop_def_util.cc541 const AttrMap& old_attrs, const AttrMap& new_attrs, std::vector<bool>* ref, in ComputeArgSignature() argument
559 gtl::FindPtrOrNull(new_attrs, arg.type_list_attr()); in ComputeArgSignature()
585 gtl::FindPtrOrNull(new_attrs, arg.number_attr()); in ComputeArgSignature()
603 gtl::FindPtrOrNull(new_attrs, arg.type_attr()); in ComputeArgSignature()
633 AttrMap new_attrs, old_attrs; in OpDefCompatible() local
635 FillAttrMap(new_op, &new_attrs); in OpDefCompatible()
638 gtl::FindPtrOrNull(new_attrs, old_attr.name()); in OpDefCompatible()
660 old_op.input_arg(), old_attrs, new_attrs, &old_in_ref, false /* names */); in OpDefCompatible()
662 new_op.input_arg(), old_attrs, new_attrs, &new_in_ref, false /* names */); in OpDefCompatible()
674 ComputeArgSignature(old_op.output_arg(), old_attrs, new_attrs, in OpDefCompatible()
[all …]
/external/pytorch/torch/fx/experimental/unification/
Dmore.py68 new_attrs = reify(attrs, s)
69 if attrs == new_attrs:
73 for slot, attr in zip(o.__slots__, new_attrs):
/external/autotest/server/site_tests/platform_MTBF/
Dgenerate_tests.py85 new_attrs = []
87 new_attrs.append(_substitute_constants(attr, constants))
88 new_test['attributes'] = new_attrs
/external/tensorflow/tensorflow/core/transforms/graph_compactor/
Dpass.cc236 SmallVector<NamedAttribute> new_attrs; in removeDefaultValuedAttrs() local
237 new_attrs.reserve(attrs.size()); in removeDefaultValuedAttrs()
240 new_attrs.push_back(it.value()); in removeDefaultValuedAttrs()
242 op->setAttrs(DictionaryAttr::getWithSorted(&getContext(), new_attrs)); in removeDefaultValuedAttrs()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/
Dtf_jitrt_legalize_i1_type.cc148 SmallVector<NamedAttribute, 4> new_attrs; in matchAndRewrite() local
150 new_attrs.push_back(convertAttribute(attr, rewriter)); in matchAndRewrite()
162 converted_operands, new_result_types, new_attrs, in matchAndRewrite()
/external/pytorch/torch/_functorch/_aot_autograd/
Dfunctional_utils.py367 new_attrs, _ = new_arg.__tensor_flatten__()
368 assert attrs == new_attrs
389 new_attrs, _ = new_arg.__tensor_flatten__()
390 assert attrs == new_attrs
/external/python/cpython3/Lib/
Dtarfile.py759 new_attrs = {}
765 name = new_attrs['name'] = member.path.lstrip('/' + os.sep)
794 new_attrs['mode'] = mode
798 new_attrs['uid'] = None
800 new_attrs['gid'] = None
802 new_attrs['uname'] = None
804 new_attrs['gname'] = None
819 return new_attrs
825 new_attrs = _get_filtered_attrs(member, dest_path, False)
826 if new_attrs:
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc667 absl::flat_hash_set<string>& new_attrs) { in BuildWrappedOpSignature() argument
677 new_attrs.insert(attr_name); in BuildWrappedOpSignature()
707 absl::flat_hash_set<string> new_attrs; in BuildWrappedOpSignature() local
709 opdef.input_arg(), signature.mutable_input_arg(), new_attrs)); in BuildWrappedOpSignature()
711 opdef.output_arg(), signature.mutable_output_arg(), new_attrs)); in BuildWrappedOpSignature()
712 for (auto& attr_name : new_attrs) { in BuildWrappedOpSignature()
/external/e2fsprogs/lib/ext2fs/
Dext_attr.c371 struct ext2_xattr *new_attrs; in ext2fs_xattrs_expand() local
375 sizeof(struct ext2_xattr), &new_attrs); in ext2fs_xattrs_expand()
379 memcpy(new_attrs, h->attrs, h->capacity * sizeof(struct ext2_xattr)); in ext2fs_xattrs_expand()
382 h->attrs = new_attrs; in ext2fs_xattrs_expand()