Home
last modified time | relevance | path

Searched refs:_total_size (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dexport_simple_text_embedding.py59 self._total_size = len(vocabulary) + oov_buckets
65 tf.random.uniform(shape=[self._total_size, emb_dim]))
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops.py381 num_broadcast_elements_t0 = _total_size(
383 num_summed_elements = _total_size(t0_shape[-len(axes_to_sum):])
390 num_broadcast_elements_t1 = _total_size(
446 def _total_size(shape_values): function
/external/python/google-api-python-client/tests/
Dtest_http.py441 self.assertEqual(None, download._total_size)
450 self.assertEqual(5, download._total_size)
458 self.assertEqual(5, download._total_size)
568 self.assertEqual(None, download._total_size)
585 self.assertEqual(5, download._total_size)
599 self.assertEqual(5, download._total_size)
612 self.assertEqual(None, download._total_size)
620 self.assertEqual(0, download._total_size)
633 self.assertEqual(None, download._total_size)
642 self.assertEqual(None, download._total_size)
/external/python/google-api-python-client/googleapiclient/
Dhttp.py645 self._total_size = None
697 self._total_size = int(length)
699 self._total_size = int(resp['content-length'])
701 if self._total_size is None or self._progress == self._total_size:
703 return MediaDownloadProgress(self._progress, self._total_size), self._done