Home
last modified time | relevance | path

Searched refs:tvars (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/
Dtyping.py168 tvars = []
170 if isinstance(t, TypeVar) and t not in tvars:
171 tvars.append(t)
173 tvars.extend([t for t in t.__parameters__ if t not in tvars])
174 return tuple(tvars)
177 def _subs_tvars(tp, tvars, subs): argument
186 for i, tvar in enumerate(tvars):
190 new_args[a] = _subs_tvars(arg, tvars, subs)
843 tvars = []
851 tvars = _collect_type_vars(cls.__orig_bases__)
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Drev_block_lib_test.py319 tvars = variables.trainable_variables()
320 assert len(tvars) == 4
323 gradients_impl.gradients(out, [inputs] + tvars)
341 tvars = variables.trainable_variables()
342 assert len(tvars) == 4
343 grads = gradients_impl.gradients(out, [inputs] + tvars)
368 tvars = variables.trainable_variables()
369 gradients_impl.gradients(loss, [x] + tvars)
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dprofile_memory.md71 seq2seq_attention_model.py:322:_add_train_op:zip(grads, tvars)... (0B/2170.80MB)
Dprofile_time.md65 seq2seq_attention_model.py:322:_add_train_op:zip(grads, tvars)... (0us/307.56ms)
/external/tensorflow/tensorflow/core/profiler/
DREADME.md209 …seq2seq_attention_model.py:322:_add_train_op:zip(grads, tvars)..., cpu: 307.56ms, accelerator: 0us…