Home
last modified time | relevance | path

Searched refs:reduce_prod (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_reduce_op_test.py87 ragged_reduce_op=ragged_math_ops.reduce_prod,
94 ragged_reduce_op=ragged_math_ops.reduce_prod,
201 ragged_reduce_op=ragged_math_ops.reduce_prod,
208 ragged_reduce_op=ragged_math_ops.reduce_prod,
306 ragged_reduce_op=ragged_math_ops.reduce_prod,
349 ragged_reduce_op=ragged_math_ops.reduce_prod,
396 ragged_reduce_op=ragged_math_ops.reduce_prod,
Dragged_math_ops.py625 @dispatch.dispatch_for_api(math_ops.reduce_prod)
626 def reduce_prod(input_tensor: ragged_tensor.Ragged, function
632 reduce_op=math_ops.reduce_prod,
741 reduce_prod(_cast(input_tensor, dtypes.int32), axis, keepdims),
767 _set_ragged_reduce_docstring(reduce_prod, 'product', 'multiplied', '1',
Dragged_dispatch.py91 math_ops.reduce_prod,
Dragged_matmul_op_test.py38 values = math_ops.range(math_ops.reduce_prod(shape))
/external/tensorflow/tensorflow/tools/compatibility/testdata/
Dtest_file_v0_11.py61 tf.reduce_prod(
64 tf.reduce_prod(
66 self.assertAllEqual(tf.reduce_prod(a, [0, 1]).eval(), 720.0)
/external/tensorflow/tensorflow/python/ops/
Dbincount_ops.py122 array_is_nonempty = math_ops.reduce_prod(array_ops.shape(arr)) > 0
161 array_is_nonempty = math_ops.reduce_prod(array_ops.shape(arr.values)) > 0
163 array_is_nonempty = math_ops.reduce_prod(array_ops.shape(arr)) > 0
Ddata_flow_grad.py35 math_ops.range(math_ops.reduce_prod(prefix_shape)), prefix_shape)
Dmath_grad_test.py146 outputs = math_ops.reduce_prod(inputs)
157 outputs = math_ops.reduce_prod(inputs, -1)
169 outputs = math_ops.reduce_prod(inputs)
181 outputs = math_ops.reduce_prod(inputs, -1)
Dmath_grad.py261 math_ops.reduce_prod(input_shape), math_ops.reduce_prod(output_shape))
295 reduced_num = math_ops.reduce_prod(array_ops.gather(input_shape, reduced))
296 other_num = math_ops.reduce_prod(array_ops.gather(input_shape, other))
Dstateful_random_ops.py632 delta = math_ops.reduce_prod(shape)
Dembedding_ops.py898 math_ops.reduce_prod(
/external/tensorflow/tensorflow/python/eager/
Dforwardprop_test.py438 return math_ops.reduce_prod(
461 return math_ops.reduce_prod(
489 return math_ops.reduce_prod(math_ops.tanh(x)**2)
522 increment = 3. / math_ops.reduce_prod(
672 return math_ops.reduce_prod(math_ops.tanh(x)**2)
700 return math_ops.reduce_prod(math_ops.tanh(x)**2)
710 return math_ops.reduce_prod(math_ops.tanh(x)**2)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v1.py393 output_batch_size = math_ops.reduce_prod(feature.output_shape).numpy()
430 output_batch_size = math_ops.reduce_prod(feature.output_shape).numpy()
Dtpu_embedding_for_serving.py389 output_batch_size = math_ops.reduce_prod(feature.output_shape)
/external/tensorflow/tensorflow/compiler/tests/
Dreduce_ops_test.py106 self._testReduction(math_ops.reduce_prod, np.prod, np.float32,
110 self._testReduction(math_ops.reduce_prod, np.prod, np.complex64,
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_circulant.py364 (x_leading_shape, [math_ops.reduce_prod(x_block_shape)]), 0)
455 n = math_ops.reduce_prod(trailing_dims)
570 det = math_ops.reduce_prod(self.spectrum, axis=axis)
Dlinear_operator_lower_triangular.py202 return math_ops.reduce_prod(self._get_diag(), axis=[-1])
Dlinear_operator_diag.py230 return math_ops.reduce_prod(self._diag, axis=[-1])
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dreduce.py250 return make_reduce_tests(tf.reduce_prod, -2, 2)(options)
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dreduction_ops_test.py103 math_ops.reduce_prod, math_ops.reduce_max,
121 math_ops.reduce_prod, math_ops.reduce_max,
629 return math_ops.reduce_prod(x, reduction_axes, keepdims)
640 v = math_ops.reduce_prod([0, 0], constant_op.constant(0, dtype=dtype))
719 y = math_ops.reduce_prod(x, [1])
729 y = math_ops.reduce_prod(x, [0])
/external/tensorflow/tensorflow/python/ops/distributions/
Dtransformed_distribution.py466 prob = math_ops.reduce_prod(prob, self._reduce_event_indices)
544 entropy *= math_ops.cast(math_ops.reduce_prod(self._override_event_shape),
/external/tensorflow/tensorflow/lite/testing/
Dbuild_def.bzl125 "reduce_prod",
252 "reduce_prod",
/external/tensorflow/tensorflow/python/ops/signal/
Dfft_ops.py205 return _math_ops.reduce_prod(_array_ops.shape(grad)[-rank:])
/external/tensorflow/tensorflow/python/keras/layers/
Dmerge.py148 [batch_size, math_ops.reduce_prod(x_shape[1:])], axis=0))
/external/tensorflow/tensorflow/python/distribute/
Dcross_device_utils.py427 num_elements = [math_ops.reduce_prod(s) for s in shapes]

123