Home
last modified time | relevance | path

Searched refs:new_root (Results 1 – 25 of 36) sorted by relevance

12

/external/antlr/runtime/Ruby/lib/antlr3/tree/
Ddebug.rb84 def become_root( new_root, old_root ) argument
85 case new_root
87 n = create_with_payload( new_root )
90 n = super( new_root, old_root )
92 @debug_listener.become_root( new_root, old_root )
/external/antlr/runtime/Ruby/lib/antlr3/
Dtree.rb840 def become_root( new_root, old_root ) argument
841 new_root = create( new_root ) if new_root.is_a?( Token )
842 old_root or return( new_root )
844 new_root = create_with_payload( new_root ) unless CommonTree === new_root
845 if new_root.flat_list?
846 count = new_root.child_count
848 new_root = new_root.child( 0 )
854 new_root.add_child( old_root )
855 return new_root
Ddebug.rb654 def become_root( new_root, old_root ) argument
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dcheckpointable_utils_test.py464 new_root = util.Checkpoint()
467 slot_status = new_root.restore(slots_path)
468 no_slot_status = new_root.restore(no_slots_path)
471 new_root.var = util.add_variable(
472 new_root, name="var", shape=[])
475 self.assertEqual(12., self.evaluate(new_root.var))
476 new_root.optimizer = adam.AdamOptimizer(0.1)
479 self.assertEqual(12., self.evaluate(new_root.var))
484 new_root.optimizer.get_slot(name="m", var=new_root.var)))
486 self.assertIs(new_root.optimizer.get_slot(name="m", var=new_root.var),
[all …]
/external/antlr/runtime/Ruby/test/unit/
Dtest-trees.rb569 new_root = new_node( new_token 5 )
576 @adaptor.become_root(new_root, old_root)
577 new_root.sanity_check
581 new_root = new_node( new_token 5 )
587 @adaptor.become_root(new_root, old_root)
588 new_root.sanity_check
592 new_root = new_node nil
593 new_root.add_child( new_node( new_token 5 ) )
600 @adaptor.become_root(new_root, old_root)
601 new_root.sanity_check
[all …]
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_with_v1_optimizers_test.py527 new_root = trackable_utils.Checkpoint()
530 slot_status = new_root.restore(slots_path)
531 no_slot_status = new_root.restore(no_slots_path)
534 new_root.var = trackable_utils.add_variable(
535 new_root, name="var", shape=[])
538 self.assertEqual(12., self.evaluate(new_root.var))
539 new_root.optimizer = adam.AdamOptimizer(0.1)
543 self.assertEqual(12., self.evaluate(new_root.var))
548 new_root.optimizer.get_slot(name="m", var=new_root.var)))
550 self.assertIs(new_root.optimizer.get_slot(name="m", var=new_root.var),
[all …]
Dutil_test.py821 new_root = trackable_utils.Checkpoint()
824 slot_status = new_root.restore(slots_path)
825 no_slot_status = new_root.restore(no_slots_path)
828 new_root.var = trackable_utils.add_variable(
829 new_root, name="var", shape=[])
832 self.assertEqual(12., self.evaluate(new_root.var))
833 new_root.optimizer = adam.Adam(0.1)
838 self.assertEqual(12., self.evaluate(new_root.var))
843 new_root.optimizer.get_slot(slot_name="m", var=new_root.var)))
847 new_root.optimizer.get_slot(slot_name="m", var=new_root.var)
[all …]
/external/python/cpython2/Lib/distutils/
Dutil.py138 def change_root (new_root, pathname): argument
146 return os.path.join(new_root, pathname)
148 return os.path.join(new_root, pathname[1:])
154 return os.path.join(new_root, path)
160 return os.path.join(new_root, path)
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_task_assignment.cc224 auto* new_root = call->to_apply()->root_instruction(); in AssignParallelTasksHelper() local
225 new_root->set_outer_dimension_partitions(dim_partition_counts); in AssignParallelTasksHelper()
228 << " to instruction: " << new_root->name() in AssignParallelTasksHelper()
229 << " parent: " << new_root->parent()->name(); in AssignParallelTasksHelper()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_inliner.cc79 TF_ASSIGN_OR_RETURN(HloInstruction * new_root, Resolve(root)); in FinishVisit()
81 << " with new root " << new_root->ToString(); in FinishVisit()
83 return outer_->ReplaceInstruction(call_, new_root); in FinishVisit()
Dhlo_schedule_test.cc151 HloInstruction* new_root = entry->AddInstruction( in TEST_F() local
154 entry->set_root_instruction(new_root); in TEST_F()
194 HloInstruction* new_root = entry->AddInstruction(HloInstruction::CreateUnary( in TEST_F() local
196 entry->set_root_instruction(new_root); in TEST_F()
Dstable_sort_expander.cc190 HloInstruction* new_root = in ExpandInstruction() local
194 comparator->set_root_instruction(new_root); in ExpandInstruction()
/external/antlr/runtime/Ruby/lib/antlr3/debug/
Dtrace-event-listener.rb76 def become_root( new_root, old_root ) argument
77 record '(%s): old_root_id=%s new_root_id=%s', __method__, @adaptor.unique_id( new_root ),
Devent-hub.rb39 def become_root( new_root, old_root ) argument
41 listener.become_root( new_root, old_root )
Dsocket.rb215 def become_root( new_root, old_root ) argument
216 transmit "%s\t%i\t%i", :become_root, adaptor.unique_id( new_root ),
/external/ltp/testcases/kernel/security/tomoyo/
Dinclude.h74 static inline int pivot_root(const char *new_root, const char *put_old) in pivot_root() argument
76 return syscall(__NR_pivot_root, new_root, put_old); in pivot_root()
79 static inline int pivot_root(const char *new_root, const char *put_old) in pivot_root() argument
/external/python/cpython3/Lib/distutils/
Dutil.py124 def change_root (new_root, pathname): argument
132 return os.path.join(new_root, pathname)
134 return os.path.join(new_root, pathname[1:])
140 return os.path.join(new_root, path)
/external/u-boot/fs/btrfs/
Dinode.c50 struct btrfs_root *new_root) in btrfs_lookup_inode() argument
76 if (new_root) in btrfs_lookup_inode()
77 *new_root = tmp_root; in btrfs_lookup_inode()
/external/python/cpython3/Python/
Dhamt.c2310 PyHamtNode *new_root; in _PyHamt_Assoc() local
2318 new_root = hamt_node_assoc( in _PyHamt_Assoc()
2321 if (new_root == NULL) { in _PyHamt_Assoc()
2325 if (new_root == o->h_root) { in _PyHamt_Assoc()
2326 Py_DECREF(new_root); in _PyHamt_Assoc()
2333 Py_DECREF(new_root); in _PyHamt_Assoc()
2337 new_o->h_root = new_root; /* borrow */ in _PyHamt_Assoc()
2351 PyHamtNode *new_root = NULL; in _PyHamt_Without() local
2356 &new_root); in _PyHamt_Without()
2367 assert(new_root != NULL); in _PyHamt_Without()
[all …]
/external/vboot_reference/scripts/image_signing/
Dmake_dev_ssd.sh63 local new_root="PARTUUID=%U/PARTNROFF=1"
65 s| root=/dev/dm-[0-9] | root='"$new_root"' |
/external/python/setuptools/
Dpavement.py18 def rewrite_packaging(pkg_files, new_root): argument
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.h60 Member** new_root, Member** old_root, bool dry_run);
Dcolocation_graph.cc246 Member** new_root, Member** old_root, bool dry_run) { in Merge() argument
286 *new_root = &(*tree)[new_root_id]; in Merge()
/external/freetype/src/psaux/
Dcffdecode.c1740 FT_Fixed new_root; in cff_decoder_parse_charstrings() local
1745 new_root = ( root + FT_DivFix( args[0], root ) + 1 ) >> 1; in cff_decoder_parse_charstrings()
1746 if ( new_root == root ) in cff_decoder_parse_charstrings()
1748 root = new_root; in cff_decoder_parse_charstrings()
1750 args[0] = new_root; in cff_decoder_parse_charstrings()
Dpsintrp.c2265 FT_Fixed new_root; in cf2_interpT2CharString() local
2271 new_root = ( root + FT_DivFix( arg, root ) + 1 ) >> 1; in cf2_interpT2CharString()
2272 if ( new_root == root ) in cf2_interpT2CharString()
2274 root = new_root; in cf2_interpT2CharString()
2276 arg = new_root; in cf2_interpT2CharString()

12