Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/mixed_precision/python/
Dloss_scale_manager_test.py43 update_fn = lambda: lsm.update_loss_scale(itr.get_next()) function
47 update_op = update_fn()
50 update_fn()
72 update_fn = lambda: lsm.update_loss_scale(itr.get_next()) function
78 update_op = update_fn()
81 update_fn()
/external/libtextclassifier/utils/sentencepiece/
Dsorted_strings_table.cc25 StringPiece input, const std::function<void(TrieMatch)>& update_fn) const { in GatherPrefixMatches()
68 update_fn(TrieMatch(/*id=*/left, in GatherPrefixMatches()
89 update_fn(TrieMatch(/*id=*/i, in GatherPrefixMatches()
Ddouble_array_trie.cc23 StringPiece input, const std::function<void(TrieMatch)>& update_fn) const { in GatherPrefixMatches()
49 update_fn(TrieMatch(/*id=*/value(pos), /*match_length=*/i + 1)); in GatherPrefixMatches()
Dsorted_strings_table.h57 StringPiece input, const std::function<void(TrieMatch)>& update_fn) const;
Ddouble_array_trie.h77 StringPiece input, const std::function<void(TrieMatch)>& update_fn) const;
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dweight_decay_optimizers_test.py58 def doTest(self, optimizer, update_fn, optimizer_name, slot_name, argument
110 var0_np, m0, v0 = update_fn(var0_np, grads0_np, t=t, m=m0, v=v0)
111 var1_np, m1, v1 = update_fn(var1_np, grads1_np, t=t, m=m1, v=v1)
/external/tensorflow/tensorflow/python/training/
Dmoving_averages.py82 def update_fn(v, value, decay=decay): function
101 return strategy.extended.update(v, update_fn, args=(value,))
106 return strategy.extended.update(variable, update_fn, args=(value,))
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py347 update_fn = ConfusionMatrix.FALSE_NEGATIVES in variables_to_update
349 if update_fn or update_tn:
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc626 Function *update_fn = mod_->getFunction("bpf_map_update_elem_"); in emit_table_update() local
627 if (!update_fn) return mkstatus_(n, "bpf_map_update_elem_ undefined"); in emit_table_update()
640 …expr_ = B.CreateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr, value_ptr, B.getInt64(BPF… in emit_table_update()
656 Function *update_fn = mod_->getFunction("bpf_map_update_elem_"); in emit_table_delete() local
657 if (!update_fn) return mkstatus_(n, "bpf_map_update_elem_ undefined"); in emit_table_delete()
667 expr_ = B.CreateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr})); in emit_table_delete()
792 Function *update_fn = mod_->getFunction("bpf_map_update_elem_"); in visit_table_index_expr_node() local
793 if (!update_fn) return mkstatus_(n, "bpf_map_update_elem_ undefined"); in visit_table_index_expr_node()
826 …B.CreateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr, leaf_ptr, B.getInt64(BPF_NOEXIST)… in visit_table_index_expr_node()
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dwals.py230 def create_axis_ops(sp_input, num_items, update_fn, axis_name): argument
258 _, update_op, loss, reg, sum_weights = update_fn(sp_input)