Home
last modified time | relevance | path

Searched refs:primal (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dforwardprop.py168 for primal, tangent in zip(inputs, tangents):
169 if not tangent.shape.is_compatible_with([None] + primal.shape):
172 tangent, [None] + primal.shape, tangent.shape))
357 for primal in nest.flatten(primals):
358 if id(primal) in primal_ids:
363 primal_ids.add(id(primal))
402 def _watch(primal, tangent): argument
403 if not primal.dtype.is_floating:
406 "floating (e.g. tf.float32), got %r", 5, primal.dtype)
407 tangent = ops.convert_to_tensor(tangent, dtype=primal.dtype)
[all …]
Dforwardprop_test.py71 tangent_mask = [array_ops.zeros_like(primal) for primal in flat_primals]
72 for primal_index, primal in enumerate(flat_primals):
73 primal_vector = array_ops.reshape(primal, [-1])
79 array_ops.shape(primal))
86 tangent_mask[primal_index] = array_ops.zeros_like(primal)
90 def _jvp_batch(f, primal, tangents): argument
94 functools.partial(_jvp, tf_function, primal), tangents)
410 primal, tangent = _jvp(math_ops.sin, (constant_op.constant(0.1),),
412 self.assertAllClose(math_ops.sin(0.1), primal)
532 def _compute_forwardgrad(primal): argument
[all …]
Dfunction_gradients_test.py133 def _grad_function(primal): argument
135 tape.watch(primal)
136 primal_out = f(primal)
137 return tape.gradient(primal_out, primal)
Dbackprop_test.py1766 def _grad_function(primal): argument
1768 tape.watch(primal)
1769 primal_out = f(primal)
1770 return tape.batch_jacobian(primal_out, primal)
/external/tensorflow/tensorflow/python/keras/integration_test/
Dforwardprop_test.py39 tangent_mask = [tf.zeros_like(primal) for primal in flat_primals]
40 for primal_index, primal in enumerate(flat_primals):
41 primal_vector = tf.reshape(primal, [-1])
46 tangent_mask[primal_index] = tf.reshape(mask, tf.shape(primal))
53 tangent_mask[primal_index] = tf.zeros_like(primal)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SdcaOptimizerV2.pbtxt95 Type of the primal loss. Currently SdcaSolver supports logistic,
Dapi_def_SdcaOptimizer.pbtxt94 Type of the primal loss. Currently SdcaSolver supports logistic,
/external/tensorflow/tensorflow/python/kernel_tests/
Dwhile_v2_test.py181 def _GradFunction(primal): argument
183 tape.watch(primal)
184 primal_out = f(primal)
185 return tape.gradient(primal_out, primal)
Dcond_v2_test.py970 def _grad_function(primal): argument
972 tape.watch(primal)
973 primal_out = f(primal)
974 return tape.gradient(primal_out, primal)
/external/llvm-project/polly/lib/External/isl/doc/
Dimplementation.tex187 as that used by its incremental LP solver based on the \emph{primal}
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt22290 primal
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz1a 2A 3Aaron 4AARON 5abaissiez 6abandon 7abandoned 8abase 9Abase 10 ...
Dospd.txt.gz
/external/tensorflow/
DRELEASE.md3893 * Added `tf.contrib.kernel_methods` module with Ops and estimators for primal
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/one-true-awk/testdir/
Dfunstack.in23062 …d can be thought of as generalizations of optimality conditions based on primal-dual complementari…
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt19534 $x{primal → prɑɪməl ; # priməl prɪmæl
Dinternal_raw_IPA-old.txt155579 primal %25852 prˈaɪməl, prˈạməl
Dinternal_raw_IPA.txt130492 primal %34598 prˈaɪməl, prˈɑɪməl