Searched defs:root (Results 126 - 150 of 958) sorted by relevance

1234567891011>>

/external/skqp/tests/
H A DSkDOMTest.cpp28 "<root a='1' b='2'>"
37 "</root>"
45 const SkDOM::Node* root = dom.build(docStream); local
46 REPORTER_ASSERT(r, root && dom.getRootNode() == root);
48 const char* v = dom.findAttr(root, "a");
50 v = dom.findAttr(root, "b");
52 v = dom.findAttr(root, "c");
55 REPORTER_ASSERT(r, dom.getFirstChild(root, "elem1"));
56 REPORTER_ASSERT(r, !dom.getFirstChild(root, "subelem
[all...]
/external/skqp/tools/skpbench/
H A D_adb.py33 def root(self): member in class:Adb
35 self.__invoke('root')
42 self.__is_root = ('root' == self.check('whoami').strip())
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/
H A DInvocationTest.java40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); field in class:InvocationTest
48 oldLevel = root.getLevel();
49 root.setLevel(Level.OFF);
54 root.setLevel(oldLevel);
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/
H A DInvocationTest.java43 org.apache.log4j.Logger root; field in class:InvocationTest
51 root = org.apache.log4j.Logger.getRootLogger();
52 root.addAppender(listAppender);
58 root.getLoggerRepository().resetConfiguration();
/external/syslinux/extlinux/
H A Dmountinfo.h21 const char *root; member in struct:mountinfo
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dconst_analysis_test.cc30 Scope root = Scope::NewRootScope(); local
32 auto arg0 = ops::_Arg(root.WithOpName("Arg0"), DT_INT32, 0);
33 auto arg1 = ops::_Arg(root.WithOpName("Arg1"), DT_INT32, 1);
34 auto arg2 = ops::_Arg(root.WithOpName("Arg2"), DT_INT32, 2);
35 auto arg3 = ops::_Arg(root.WithOpName("Arg3"), DT_INT32, 3);
36 auto a = ops::Shape(root, arg0);
37 auto b = ops::Add(root, a, arg1);
38 auto c = ops::Reshape(root, arg2, b);
39 auto d = ops::Mul(root, c, ops::Sum(root, arg
58 Scope root = Scope::NewRootScope(); local
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dbatchnorm_expander_test.cc64 HloInstruction* root = computation->root_instruction(); local
65 EXPECT_EQ(root->opcode(), HloOpcode::kBatchNormTraining);
70 root = computation->root_instruction();
72 EXPECT_EQ(root->opcode(), HloOpcode::kTuple);
106 HloInstruction* root = computation->root_instruction(); local
107 EXPECT_EQ(root->opcode(), HloOpcode::kBatchNormGrad);
112 root = computation->root_instruction();
114 EXPECT_EQ(root->opcode(), HloOpcode::kTuple);
H A Dimplicit_broadcast_remover_test.cc64 HloInstruction* root = computation->root_instruction(); local
66 EXPECT_FALSE(ShapeUtil::Compatible(root->shape(), root->operand(0)->shape()));
67 EXPECT_TRUE(ShapeUtil::Compatible(root->shape(), root->operand(1)->shape()));
70 root = computation->root_instruction();
72 EXPECT_THAT(root, op::Power(op::Broadcast(op::Parameter()), op::Parameter()));
74 EXPECT_TRUE(ShapeUtil::Compatible(root->shape(), root->operand(0)->shape()));
75 EXPECT_TRUE(ShapeUtil::Compatible(root
93 HloInstruction* root = computation->root_instruction(); local
115 HloInstruction* root = computation->root_instruction(); local
139 HloInstruction* root = computation->root_instruction(); local
166 HloInstruction* root = computation->root_instruction(); local
[all...]
H A Dinliner.cc68 HloInstruction& root = *function->root_instruction(); local
72 if (hlo_query::AllOperandsAreParameters(root)) {
73 if (root.opcode() == HloOpcode::kFusion ||
74 root.opcode() == HloOpcode::kParameter ||
75 root.opcode() == HloOpcode::kTrace) {
80 << root.ToShortString();
84 if (root.opcode() != HloOpcode::kConstant) {
86 for (int64 o = 0; o < root.operands().size(); o++) {
87 params.push_back(map->operands()[root.operand(o)->parameter_number()]);
90 root
[all...]
H A Dname_uniquer.cc56 string root = prefix.empty() ? "name" : prefix.ToString(); local
57 root = GetSanitizedName(root);
61 size_t separator_index = root.rfind(separator_);
63 (separator_index < root.size() - 1)) {
64 string after_suffix = root.substr(separator_index + 1);
67 // Remove numeric suffix from root.
68 root = root.substr(0, separator_index);
71 generated_names_[root]
[all...]
/external/tensorflow/tensorflow/contrib/util/
H A Dconvert_graphdef_memmapped_format_test.cc54 auto root = Scope::NewRootScope().ExitOnError(); local
55 Output m = ops::MatMul(root, test_tensor1, test_tensor2);
59 TF_ASSERT_OK(root.ToGraphDef(&graph_def));
105 auto root = Scope::NewRootScope().ExitOnError(); local
106 Output m = ops::Add(root, test_tensor1, test_tensor2);
110 TF_ASSERT_OK(root.ToGraphDef(&graph_def));
/external/tensorflow/tensorflow/core/common_runtime/
H A Dgraph_runner_test.cc47 Scope root = Scope::NewRootScope(); local
48 auto c = ops::Const(root, 42.0f);
51 Status s = graph_runner.Run(root.graph(), nullptr, {}, {c.name()}, &outputs);
59 Scope root = Scope::NewRootScope(); local
60 auto p1 = ops::Placeholder(root.WithOpName("p1"), DT_FLOAT);
61 auto p2 = ops::Placeholder(root.WithOpName("p2"), DT_FLOAT);
62 auto add = ops::Add(root.WithOpName("add"), p1, p2);
77 graph_runner.Run(root.graph(), nullptr, inputs, {"add:0"}, &outputs);
84 Scope root = Scope::NewRootScope(); local
85 auto c = ops::Const(root, 42.
97 Scope root = Scope::NewRootScope(); local
[all...]
/external/tensorflow/tensorflow/core/grappler/clusters/
H A Dvirtual_cluster_test.cc106 tensorflow::Scope root = tensorflow::Scope::NewRootScope(); local
108 auto zero = ops::Variable(root.WithOpName("zero"), {1024, 1024}, DT_FLOAT);
109 auto identity = ops::Identity(root.WithOpName("i"), zero);
110 auto identity2 = ops::Identity(root.WithOpName("i2"), identity);
112 TF_CHECK_OK(root.ToGraphDef(&item.graph));
/external/tensorflow/tensorflow/core/kernels/
H A Ddecode_wav_op_test.cc39 Scope root = Scope::NewRootScope(); local
60 Const(root.WithOpName("content_op"), Input::Initializer(content_tensor));
63 DecodeWav(root.WithOpName("decode_wav_op"), content_op);
65 TF_ASSERT_OK(root.status());
67 ClientSession session(root);
H A Dencode_wav_op_test.cc38 Scope root = Scope::DisabledShapeInferenceScope(); local
44 Const(root.WithOpName("audio_op"), Input::Initializer(audio_tensor));
46 Output sample_rate_op = Const(root.WithOpName("sample_rate_op"), 44100);
49 EncodeWav(root.WithOpName("encode_wav_op"), audio_op, sample_rate_op);
52 DecodeWav(root.WithOpName("decode_wav_op"), encode_wav_op);
54 TF_ASSERT_OK(root.status());
56 ClientSession session(root);
/external/tensorflow/tensorflow/core/kernels/hexagon/
H A Dhexagon_rewriter_transform_test.cc42 Scope root = tensorflow::Scope::NewRootScope(); local
47 Output a_const = ops::Const(root.WithOpName("a"), Input::Initializer(a_data));
51 Output b_const = ops::Const(root.WithOpName("b"), Input::Initializer(b_data));
53 Output add = ops::Add(root.WithOpName("add"), a_const, b_const);
56 ops::Placeholder(root.WithOpName("placeholder"), DT_FLOAT);
58 Output mul = ops::Mul(root.WithOpName("output"), add, placeholder);
61 TF_ASSERT_OK(root.ToGraphDef(&graph_def));
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
H A Dexpensive_operation_checker.h52 const MultiGraphNodeProto root = stats->ShowMultiGraphNode("op", opts); local
53 if (root.children_size() == 0) {
56 const MultiGraphNodeProto* node = &root;
67 100.0 * node->exec_micros() / (root.total_exec_micros() + 1e-10)));
79 const MultiGraphNodeProto root = stats->ShowMultiGraphNode("code", opts); local
80 const MultiGraphNodeProto* node = &root;
98 const GraphNodeProto root = stats->ShowGraphNode("scope", opts); local
99 if (root.children_size() == 0) {
103 for (int i = 0; i < 3 && i < root.children_size(); ++i) {
104 const GraphNodeProto& node = root
[all...]
/external/tensorflow/tensorflow/core/profiler/internal/
H A Dtfprof_tensor_test.cc64 const GraphNodeProto& root = tf_stats_->ShowGraphNode("scope", opts); local
67 EXPECT_EQ(root.children(0).name(), "DW");
68 EXPECT_GT(root.children(0).tensor_value().value_double_size(), 10);
69 EXPECT_EQ(root.children(1).name(), "DW2");
70 EXPECT_GT(root.children(1).tensor_value().value_double_size(), 10);
71 EXPECT_EQ(root.children(2).name(), "ScalarW");
72 EXPECT_EQ(root.children(2).tensor_value().value_double_size(), 1);
/external/tensorflow/tensorflow/tools/graph_transforms/
H A Dfake_quantize_training_test.cc39 auto root = tensorflow::Scope::DisabledShapeInferenceScope(); local
44 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data));
48 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data));
50 Output matmul = MatMul(root.WithOpName("matmul"), a_const, b_const);
52 TF_ASSERT_OK(root.ToGraphDef(&graph_def));
H A Dremove_ema_test.cc44 auto root = tensorflow::Scope::NewRootScope(); local
49 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data));
53 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data));
55 Output matmul = MatMul(root.WithOpName("matmul"), a_const, b_const);
57 TF_ASSERT_OK(root.ToGraphDef(&graph_def));
H A Dround_weights_test.cc39 auto root = tensorflow::Scope::NewRootScope(); local
47 Const(root.WithOpName("input_op"), Input::Initializer(input_data));
57 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data));
59 Output conv_op = Conv2D(root.WithOpName("output"), input_op, weights_op,
63 TF_ASSERT_OK(root.ToGraphDef(&original_graph_def));
/external/v8/src/asmjs/
H A Dswitch-logic.cc19 CaseNode* root = nodes->at(root_index); local
21 root->left = CreateBst(nodes, begin, root_index - 1);
23 root->right = CreateBst(nodes, root_index + 1, end);
24 return root;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeIterator.cs45 protected object root; field in class:Antlr.Runtime.Tree.TreeIterator
69 this.root = tree;
136 // while we're out of siblings, keep popping back up towards root
148 tree = null; // back at root? nothing left then
174 tree = root;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeIterator.java43 protected Object root; field in class:TreeIterator
64 this.root = tree;
73 tree = root;
78 if ( firstTime ) return root!=null;
82 return adaptor.getParent(tree)!=null; // back at root?
108 // while we're out of siblings, keep popping back up towards root
118 tree = null; // back at root? nothing left then
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRBufferedTreeNodeStream.h69 id<ANTLRTree> root; // root variable
88 @property (retain, getter=getTreeSource, setter=setTreeSource:) id<ANTLRTree> root; variable

Completed in 636 milliseconds

1234567891011>>