Home
last modified time | relevance | path

Searched refs:single_value (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dstrategy_gather_test.py91 single_value = constant_op.constant([1, 2, 3])
93 self._gather_same_shape_and_verify(single_value, axis, pure_eager, strategy)
97 single_value = constant_op.constant([[1, 2, 3]])
99 self._gather_same_shape_and_verify(single_value, axis, pure_eager, strategy)
103 single_value = constant_op.constant([[1, 2, 3]])
105 self._gather_same_shape_and_verify(single_value, axis, pure_eager, strategy)
109 single_value = constant_op.constant([[[1, 2], [1, 2]]])
111 self._gather_same_shape_and_verify(single_value, axis, pure_eager, strategy)
115 single_value = constant_op.constant([[[1, 2], [1, 2]]])
117 self._gather_same_shape_and_verify(single_value, axis, pure_eager, strategy)
[all …]
Dvalues_test.py126 single_value = constant_op.constant(1)
129 return single_value
/external/tensorflow/tensorflow/python/layers/
Dutils.py77 for single_value in value_tuple:
79 int(single_value)
83 'including element ' + str(single_value) + ' of type' +
84 ' ' + str(type(single_value)))
/external/python/cpython2/Lib/test/
Dtest_cgi.py160 single_value = 0
162 single_value = 1
166 self.assertFalse(single_value)
169 self.assertTrue(single_value)
173 if single_value:
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py82 for single_value in value_tuple:
84 int(single_value)
88 'including element ' + str(single_value) + ' of type' +
89 ' ' + str(type(single_value)))
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc277 double single_value = in ExtractMinMaxFromAttr() local
283 if (single_value < 0.0) { in ExtractMinMaxFromAttr()
284 mins[0] = single_value; in ExtractMinMaxFromAttr()
285 maxs[0] = symmetric ? -single_value : 0.0; in ExtractMinMaxFromAttr()
286 } else if (single_value > 0.0) { in ExtractMinMaxFromAttr()
287 mins[0] = symmetric ? -single_value : 0.0; in ExtractMinMaxFromAttr()
288 maxs[0] = single_value; in ExtractMinMaxFromAttr()
290 mins[0] = maxs[0] = single_value; in ExtractMinMaxFromAttr()
/external/tensorflow/tensorflow/python/data/util/
Dnest_test.py139 single_value = st
143 self.assertEqual([st], nest.flatten(single_value))
150 single_value = rt
154 self.assertEqual([rt], nest.flatten(single_value))
/external/minijail/tools/
Dparser.py275 single_value = self.parse_value(tokens)
280 single_value = self._parse_single_constant(tokens[0])
283 single_value = self._arch.truncate_word(~single_value)
284 return single_value
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py2809 array_ops.expand_dims_v2(array_ops.shape(single_value)[0], axis=0)
2810 for single_value in v.values