Home
last modified time | relevance | path

Searched refs:TensorPair (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dtyped_queue.h98 using TensorPair = std::pair<int64, PersistentTensor>; variable
101 int64 SizeOf(const std::priority_queue<TensorPair, U, V>& sq) { in SizeOf() argument
105 return sq.size() * (sizeof(TensorPair) + sq.top().second.AllocatedBytes()); in SizeOf()
/external/tensorflow/tensorflow/python/framework/
Dsubscribe_test.py112 TensorPair = collections.namedtuple('TensorPair', ['first', 'second'])
114 pair = TensorPair(a, b)
117 self.assertIsInstance(subscribed, TensorPair)