Home
last modified time | relevance | path

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

123

/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 …]
Dgraph_view.h251 explicit MutationNewNode(Mutation* mutation, int mutation_counter, int index) in MutationNewNode() argument
252 : mutation_(mutation), in MutationNewNode()
/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.cc934 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in AddFusedContractionNode() local
936 mutation->AddNode(std::move(fused_op), &status); in AddFusedContractionNode()
938 TF_RETURN_IF_ERROR(mutation->Apply()); in AddFusedContractionNode()
978 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in AddFusedContractionNode() local
980 mutation->AddNode(std::move(fused_op), &status); in AddFusedContractionNode()
982 TF_RETURN_IF_ERROR(mutation->Apply()); in AddFusedContractionNode()
1025 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in AddFusedConv2DNode() local
1027 mutation->AddNode(std::move(fused_conv2d), &status); in AddFusedConv2DNode()
1029 mutation->AddNode(std::move(remapped_squeeze), &status); in AddFusedConv2DNode()
1031 TF_RETURN_IF_ERROR(mutation->Apply()); in AddFusedConv2DNode()
[all …]
Dgeneric_layout_optimizer_transposer.cc482 utils::Mutation* mutation = context->graph_view->GetMutationBuilder(); in UpdateEdge() local
483 mutation->AddOrUpdateRegularFanin(added_node, 0, in UpdateEdge()
487 mutation->AddOrUpdateRegularFanin(dst_node, dst_port, {added_node_name, 0}); in UpdateEdge()
615 utils::Mutation* mutation = context->graph_view->GetMutationBuilder(); in UpdateNode() local
618 mutation->AddOrUpdateNodeAttr(node, kAttrDataFormat, data_format_attr); in UpdateNode()
621 &mutation](absl::string_view attr_name) { in UpdateNode()
628 mutation->AddOrUpdateNodeAttr(node, attr_name, attr_copy); in UpdateNode()
646 mutation->AddOrUpdateNodeAttr(node, kAttrExplicitPaddings, in UpdateNode()
999 utils::Mutation* mutation, absl::string_view node_name, in AddNodeReshape() argument
1018 mutation->AddNode(std::move(new_node), &status); in AddNodeReshape()
[all …]
Dgeneric_layout_optimizer_transposer.h327 Status AddNodeShapeConst(utils::Mutation* mutation,
331 Status AddNodeReshape(utils::Mutation* mutation, absl::string_view node_name,
/external/tensorflow/tensorflow/python/eager/
Dlift_to_graph.py139 return ([mutation._replace(copied_op=copied_op)
140 for mutation in input_mutations],
141 [mutation._replace(copied_op=copied_op)
142 for mutation in control_mutations])
348 for mutation in input_mutations:
349 mutation.copied_op._update_input(
350 mutation.input_index, op_map[mutation.old_graph_tensor])
351 for mutation in control_mutations:
354 if mutation.old_graph_op.name == "TPUReplicateMetadata":
356 mutation.copied_op._add_control_input(op_map[mutation.old_graph_op])
/external/libprotobuf-mutator/src/
Dmutator.cc192 Mutation mutation() const { return sampler_.selected().mutation; } in mutation() function in protobuf_mutator::__anon4db2e1e30111::MutationSampler
196 assert(mutation() != Mutation::None || in Sample()
275 void Try(const FieldInstance& field, Mutation mutation) { in Try() argument
276 assert(mutation != Mutation::None); in Try()
277 if (!allowed_mutations_[static_cast<size_t>(mutation)]) return; in Try()
278 sampler_.Try(kDefaultMutateWeight, {field, mutation}); in Try()
288 Result(const FieldInstance& f, Mutation m) : field(f), mutation(m) {} in Result()
291 Mutation mutation = Mutation::None; member
692 MutationSampler mutation(keep_initialized_, mutations, &random_); in MutateImpl() local
693 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…
Dfma-assoc.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/swiftshader/third_party/llvm-7.0/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 … %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…
Dfma-assoc.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 …p-contract=fast -enable-unsafe-fp-math -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck…
4 …fast -enable-unsafe-fp-math -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck…
/external/icu/icu4c/source/data/translit/
Dcy_cy_FONIPA.txt82 # ɡ → ŋ via nasal mutation
83 # ɡ → 0 via soft mutation
86 [ɡŋ] {w} [rl] $vowel → W; # Plain or nasal mutation environment
87 ^ {w} [rl] $vowel → W; # Soft mutation at the beginning of a word
/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/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/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dreaching_definitions_test.py298 mutation = fn_body[1].targets[0].value
300 self.assertSameDef(creation, mutation)
/external/flatbuffers/docs/source/
DSupport.md25 Simple mutation | Yes | Yes | Yes | Yes | No | No | No …
DGoUsage.md84 // This mutation will fail because the mana field is not available in
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DLibFuzzer.rst108 the current corpus. If a mutation triggers execution of a previously-uncovered
109 path in the code under test, then that mutation is saved to the corpus for
385 For ``NEW`` events, the output line also includes information about the mutation
391 Count and list of the mutation operations used to generate the input.
600 mutation is found. However, running full leak detection after every mutation
604 ``malloc`` and ``free`` calls when executing every mutation.
/external/llvm/docs/
DLibFuzzer.rst118 the current corpus. If a mutation triggers execution of a previously-uncovered
119 path in the code under test, then that mutation is saved to the corpus for
349 For ``NEW`` events, the output line also includes information about the mutation
355 Count and list of the mutation operations used to generate the input.
708 mutation is found. However, running full leak detection after every mutation
712 ``malloc`` and ``free`` calls when executing every mutation.

123