Home
last modified time | relevance | path

Searched refs:log_softmax (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/distributions/
Dcategorical.py317 nn_ops.log_softmax(self.logits) * self.probs, axis=-1)
342 delta_log_probs1 = (nn_ops.log_softmax(a.logits) -
343 nn_ops.log_softmax(b.logits))
Dmultinomial.py281 return math_ops.reduce_sum(counts * nn_ops.log_softmax(self.logits), -1)
/external/tensorflow/tensorflow/python/keras/
Dactivations.py515 log_softmax = nn.log_softmax variable
/external/tensorflow/tensorflow/dtensor/mlir/expansions/
Dsoftmax_spmd_expander.cc159 auto log_softmax = builder.create<mlir::TF::SubOp>( in ComputeLogSoftmax() local
161 return log_softmax.getResult(); in ComputeLogSoftmax()
169 bool log_softmax) { in ComputeShardedSoftmax() argument
177 if (log_softmax) { in ComputeShardedSoftmax()
579 const mlir::Value log_softmax = in ExpandOp() local
599 features_zero, log_softmax) in ExpandOp()
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dlog_softmax.py38 out = tf.nn.log_softmax(input_tensor)
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dsoftmax_op_test.py71 tf_softmax = nn_ops.log_softmax(np_features, axis=dim, name=name)
122 tf_log_softmax = nn_ops.log_softmax(features)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_test_ops.py80 nn_ops.log_softmax,
/external/tensorflow/tensorflow/lite/kernels/internal/
DBUILD555 "reference/log_softmax.h",
587 "reference/integer_ops/log_softmax.h",
659 "reference/log_softmax.h",
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dget-arithmetic-count.mlir86 %0 = "tfl.log_softmax"(%arg0) : (tensor<10x10xf32>) -> tensor<10x10xf32>
Dlegalize-tf.mlir255 func.func @log_softmax(%arg0: tensor<8x16xf32>) -> tensor<8x16xf32> {
258 // CHECK-LABEL: log_softmax
259 // CHECK: "tfl.log_softmax"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32>
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dcategorical_test.py339 log_probabilities = nn_ops.log_softmax(logits)
/external/tensorflow/tensorflow/lite/testing/
Dgenerate_examples_lib.py108 from tensorflow.lite.testing.op_tests.log_softmax import make_log_softmax_tests
Dbuild_def.bzl88 "log_softmax",
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.nn.pbtxt220 name: "log_softmax"
Dtensorflow.math.pbtxt264 name: "log_softmax"
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py3918 def log_softmax(logits, axis=None, name=None, dim=None): function
3943 return _wrap_2d_function(logits, gen_nn_ops.log_softmax, axis, name)
3971 return _wrap_2d_function(logits, gen_nn_ops.log_softmax, axis, name)
Dctc_ops.py702 ilabel_log_probs = nn_ops.log_softmax(logits)
Dnn_grad.py534 …return grad, _BroadcastMul(grad_loss, -nn_ops.log_softmax(logits)) # pylint: disable=invalid-unar…
/external/tensorflow/tensorflow/python/ops/numpy_ops/g3doc/
DTensorFlow_NumPy_Text_Generation.ipynb804 …"We define the loss function from scratch, using `tf.nn.log_softmax`. (Our definition is the same …
819 " predictions = tf.nn.log_softmax(predictions)\n",
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.math.pbtxt264 name: "log_softmax"
Dtensorflow.nn.pbtxt256 name: "log_softmax"
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_patterns.td901 (ArgMinMaxOp (TFL_LogSoftmaxOp:$log_softmax $logits),
904 [(HasOneUse $log_softmax),
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py767 return (nn.log_softmax(logits_i), nn.log_softmax(logits_i, axis=0),
768 nn.log_softmax(logits_i, axis=-1))
/external/tensorflow/tensorflow/compiler/tf2tensorrt/
DBUILD681 "convert/ops/log_softmax.cc",
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_test.py369 nn_ops.log_softmax,

12