Home
last modified time | relevance | path

Searched refs:mutation (Results 1 – 25 of 107) sorted by relevance

12345

/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_test.cc977 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F() local
980 mutation->AddNode(std::move(empty_node), &s); in TEST_F()
986 mutation->AddNode(std::move(valid_node), &s); in TEST_F()
991 mutation->AddNode(std::move(bad_node_1), &s); in TEST_F()
998 mutation->AddNode(std::move(bad_node_2), &s); in TEST_F()
1014 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F() local
1018 MutationNewNode new_node = mutation->AddNode(std::move(valid_node), &s); in TEST_F()
1020 mutation->AddOrUpdateRegularFanin(new_node, 1, {"valid", 2}); in TEST_F()
1021 s = mutation->Apply(); in TEST_F()
1036 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F() local
[all …]
Dpattern_utils_test.cc437 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F() local
445 mutation->AddNode(std::move(fused_node), &status); in TEST_F()
447 TF_EXPECT_OK(mutation->Apply()); in TEST_F()
450 mutation->RemoveNode(graph_view.GetNode(node_idx)); in TEST_F()
452 TF_EXPECT_OK(mutation->Apply()); in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer.cc230 utils::Mutation* mutation = graph_view->GetMutationBuilder(); in EraseCancellableNodes() local
252 mutation->AddOrUpdateRegularFanin(regular_fanout.node_view(), in EraseCancellableNodes()
256 mutation->RemoveNode(node); in EraseCancellableNodes()
258 mutation->RemoveNode(node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
260 mutation->RemoveNode(fanin_node); in EraseCancellableNodes()
262 mutation->RemoveNode(fanin_node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
265 return mutation->Apply(); in EraseCancellableNodes()
276 utils::Mutation* mutation = graph_view->GetMutationBuilder(); in EraseCancellableNodesAroundPad() local
363 mutation->AddOrUpdateNodeAttr(paddings, "value", permuted_paddings_tensor); in EraseCancellableNodesAroundPad()
368 &mutation](utils::MutableNodeView* transpose) -> void { in EraseCancellableNodesAroundPad()
[all …]
Dremapper.cc1092 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType() local
1094 mutation->AddNode(std::move(fused_op), &status); in IsCpuCompatibleDataType()
1096 TF_RETURN_IF_ERROR(mutation->Apply()); in IsCpuCompatibleDataType()
1141 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType() local
1143 mutation->AddNode(std::move(fused_op), &status); in IsCpuCompatibleDataType()
1145 TF_RETURN_IF_ERROR(mutation->Apply()); in IsCpuCompatibleDataType()
1188 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType() local
1190 mutation->AddNode(std::move(fused_conv2d), &status); in IsCpuCompatibleDataType()
1192 mutation->AddNode(std::move(remapped_squeeze), &status); in IsCpuCompatibleDataType()
1194 TF_RETURN_IF_ERROR(mutation->Apply()); in IsCpuCompatibleDataType()
[all …]
Dgeneric_layout_optimizer_transposer.cc549 utils::Mutation* mutation = context->graph_view->GetMutationBuilder(); in UpdateEdge() local
550 mutation->AddOrUpdateRegularFanin(added_node, 0, in UpdateEdge()
554 mutation->AddOrUpdateRegularFanin(dst_node, dst_port, {added_node_name, 0}); in UpdateEdge()
695 utils::Mutation* mutation = context->graph_view->GetMutationBuilder(); in UpdateNode() local
698 mutation->AddOrUpdateNodeAttr(node, kAttrDataFormat, data_format_attr); in UpdateNode()
701 &mutation](absl::string_view attr_name) { in UpdateNode()
708 mutation->AddOrUpdateNodeAttr(node, attr_name, attr_copy); in UpdateNode()
726 mutation->AddOrUpdateNodeAttr(node, kAttrExplicitPaddings, in UpdateNode()
1222 utils::Mutation* mutation, absl::string_view node_name, in AddNodeReshape() argument
1241 mutation->AddNode(std::move(new_node), &status); in AddNodeReshape()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dlift_to_graph.py140 return ([mutation._replace(copied_op=copied_op)
141 for mutation in input_mutations],
142 [mutation._replace(copied_op=copied_op)
143 for mutation in control_mutations])
350 for mutation in input_mutations:
351 mutation.copied_op._update_input(
352 mutation.input_index, op_map[mutation.old_graph_tensor])
353 for mutation in control_mutations:
356 if mutation.old_graph_op.type == "TPUReplicateMetadata":
358 mutation.copied_op._add_control_input(op_map[mutation.old_graph_op])
/external/libprotobuf-mutator/src/
Dmutator.cc193 Mutation mutation() const { return sampler_.selected().mutation; } in mutation() function in protobuf_mutator::__anonb2429a380111::MutationSampler
197 assert(mutation() != Mutation::None || in Sample()
276 void Try(const FieldInstance& field, Mutation mutation) { in Try() argument
277 assert(mutation != Mutation::None); in Try()
278 if (!allowed_mutations_[static_cast<size_t>(mutation)]) return; in Try()
279 sampler_.Try(kDefaultMutateWeight, {field, mutation}); in Try()
289 Result(const FieldInstance& f, Mutation m) : field(f), mutation(m) {} in Result()
292 Mutation mutation = Mutation::None; member
702 MutationSampler mutation(keep_initialized_, mutations, &random_); in MutateImpl() local
703 for (Message* message : messages) mutation.Sample(message); in MutateImpl()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dfma-mutate.ll1 ; Test several VSX FMA mutation opportunities. The first one isn't a
6 …-gnu -mcpu=pwr7 -enable-unsafe-fp-math -mattr=+vsx -disable-ppc-vsx-fma-mutation=false | FileCheck…
Dfma.ll1 ; RUN: llc < %s -march=ppc32 -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | Fi…
2 …linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck…
3 …c64-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck…
4 …4le-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck…
Dfma-ext.ll1 ; RUN: llc < %s -march=ppc32 -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | Fi…
2 …linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck…
/external/llvm-project/mlir/include/mlir/Interfaces/
DSideEffectInterfaces.td50 // not any visible mutation or dereference.
57 // resource, and not any visible allocation, mutation or dereference.
64 // not any visible mutation.
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dfma-mutate.ll2 …powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=+vsx -disable-ppc-vsx-fma-mutation=false | FileCheck…
6 ; Test several VSX FMA mutation opportunities.
Dfma.ll1 … %s -mtriple=ppc32-- -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck…
2 …linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck…
3 …c64-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck…
4 …4le-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck…
Dfma-ext.ll1 … %s -mtriple=ppc32-- -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck…
2 …linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck…
/external/icu/icu4c/source/data/translit/
Dcy_cy_FONIPA.txt83 # ɡ → ŋ via nasal mutation
84 # ɡ → 0 via soft mutation
87 [ɡŋ] {w} [rl] $vowel → W; # Plain or nasal mutation environment
88 ^ {w} [rl] $vowel → W; # Soft mutation at the beginning of a word
/external/llvm-project/compiler-rt/test/fuzzer/
Ddisable-leaks.test5 ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation
Dfuzzer-custommutator.test22 # check a target that prints long mutation sequences and verifies the printed
/external/openscreen/third_party/libprotobuf-mutator/
DREADME.chromium9 Library for protocol buffer mutation. Assistance library to in-process
/external/llvm-project/mlir/docs/
DPatternRewriter.md53 method. When using the combined `matchAndRewrite` method, no IR mutation should
85 // The `matchAndRewrite` method performs both the matching and the mutation.
86 // Note that the match must reach a successful point before IR mutation may
96 * No mutation of the IR is allowed.
115 that would be invalidated when a mutation takes place. Examples of some of the
169 mutation directly.
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp1155 DescriptorMutation mutation = {i == 0 ? true : deRandom_getBool(&m_random), in iterate() local
1158 const auto& lastWrite = mutation.writes.back(); in iterate()
1159 if (mutation.update) in iterate()
1172 …tcu::Vec4 color = expectedColor + (val0 + val1) * tcu::Vec4(static_cast<float>(mutation.numD… in iterate()
1179 descriptorMutations.push_back(mutation); in iterate()
1197 for (auto mutation : descriptorMutations) in iterate() local
1199 if (mutation.update) in iterate()
1201 for (const auto &write : mutation.writes) in iterate()
1242 for (deUint32 i = 0u; i < mutation.numDraws; i++) in iterate()
/external/python/cpython3/Lib/test/
Dtest_memoryio.py767 def _test_cow_mutation(self, mutation): argument
773 mutation(memio)
779 def mutation(memio): function
781 self._test_cow_mutation(mutation)
786 def mutation(memio): function
789 self._test_cow_mutation(mutation)
796 def mutation(memio): function
798 self._test_cow_mutation(mutation)
/external/llvm-project/llvm/docs/
DAddingConstrainedIntrinsics.rst76 The code to do the conversion or mutation of the STRICT node to a non-STRICT
85 Whether the mutation may happens or not, depends on how the new node has been
/external/libprotobuf-mutator/
DREADME.md55 The field mutation logic is very basic --
60 To apply one mutation to a protobuf object do the following:
98 …It registers callback which will be called for each message of particular type after each mutation.
/external/llvm/lib/Fuzzer/test/
Dfuzzer-leak.test26 ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dswp-crash-iter.ll3 ; Test that we do not crash when running CopyToPhi DAG mutation due to

12345