HomeSort by relevance Sort by last modified time
    Searched refs:element_type (Results 1 - 25 of 289) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/
element_type.pass.cpp 15 // typedef <details> element_type;
26 typedef char element_type; typedef in struct:A
32 typedef char element_type; typedef in struct:B
48 static int element_type; member in struct:E
54 typedef int element_type; typedef in struct:F
59 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), "");
60 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), "");
61 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), "");
62 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), "");
63 static_assert((std::is_same<std::pointer_traits<E<double, int> >::element_type, double>::value), "")
    [all...]
difference_type.pass.cpp 26 typedef short element_type; typedef in struct:A
32 typedef short element_type; typedef in struct:B
  /external/libcxx/test/std/utilities/memory/pointer.traits/
element_type.pass.cpp 15 // typedef T element_type;
24 static_assert((std::is_same<std::pointer_traits<const short*>::element_type, const short>::value), "");
pointer.pass.cpp 24 typedef short element_type; typedef in struct:A
pointer_to.pass.cpp 34 (std::pointer_traits<void*>::element_type)0;
  /external/clang/test/CodeGenCXX/
linetable-eh.cpp 22 typedef _Tp element_type; typedef in class:shared_ptr
23 element_type* __ptr_;
25 element_type* operator->() const noexcept {return __ptr_;}
  /external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
pointer_to.pass.cpp 28 typedef T element_type; typedef in struct:A
29 element_type* t_;
31 A(element_type* t) : t_(t) {}
33 static A pointer_to(typename std::conditional<std::is_void<element_type>::value,
34 nat, element_type>::type& et)
47 (std::pointer_traits<A<void> >::element_type)0;
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/
types.pass.cpp 15 // typedef T element_type;
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
  /external/tensorflow/tensorflow/compiler/xla/tests/
iota_test.cc 39 const auto element_type = std::get<0>(spec); local
41 XlaBuilder builder(TestName() + "_" + PrimitiveType_Name(element_type));
42 Iota(&builder, element_type, num_elements);
43 if (element_type == F32) {
46 } else if (element_type == U32) {
50 CHECK_EQ(element_type, S32);
68 const auto element_type = std::get<0>(spec); local
71 XlaBuilder builder(TestName() + "_" + PrimitiveType_Name(element_type));
74 Iota(&builder, ShapeUtil::MakeShape(element_type, dimensions), iota_dim);
75 if (primitive_util::IsFloatingPointType(element_type)) {
95 const auto element_type = std::get<0>(spec); local
120 const auto element_type = PRED; local
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/python_api/
xla_shape.py 40 def __init__(self, element_type, dimensions, layout=None):
44 element_type: element type from xla_data_pb2.
46 of Shapes in the case of a tuple, i.e. when element_type is
52 ValueError: if element_type is TUPLE but dimensions are not Shape objects.
55 self.message.element_type = element_type
56 if element_type == xla_data_pb2.TUPLE:
71 def element_type(self): member in class:Shape
72 return self.message.element_type
75 return self.element_type() == xla_data_pb2.TUPL
    [all...]
xla_literal.py 30 element_type = literal.shape.element_type
31 if element_type == xla_data_pb2.TUPLE:
36 type_record = types.MAP_XLA_TYPE_TO_RECORD[element_type]
  /external/libchrome/base/
scoped_generic.h 70 typedef T element_type; typedef in class:base::ScopedGeneric
77 explicit ScopedGeneric(const element_type& value) : data_(value) {}
80 ScopedGeneric(const element_type& value, const traits_type& traits)
102 void reset(const element_type& value = traits_type::InvalidValue()) {
121 element_type release() WARN_UNUSED_RESULT {
122 element_type old_generic = data_.generic;
129 element_type* receive() WARN_UNUSED_RESULT {
134 const element_type& get() const { return data_.generic; }
140 bool operator==(const element_type& value) const {
143 bool operator!=(const element_type& value) const
    [all...]
  /external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
linq_last.hpp 10 typename Cursor::element_type
14 typename Cursor::element_type elem = c.get();
49 typename Cursor::element_type
52 typename Cursor::element_type elem;
61 typename Cursor::element_type
75 typename Cursor::element_type
78 if (c.empty()) { return typename Cursor::element_type(); }
linq.hpp 220 typedef typename Collection::cursor::element_type
221 element_type; typedef in class:cpplinq::linq_driver
270 element_type aggregate(Fn fn) const
274 return element_type();
316 bool contains(const typename Collection::cursor::element_type& value) const {
345 element_type element_at_or_default(std::size_t ix) const {
351 if (cur.empty()) { return element_type(); }
378 element_type first_or_default() const {
380 if (cur.empty()) { return element_type(); }
385 element_type first_or_default(Predicate pred) const
    [all...]
  /external/webrtc/webrtc/base/
scoped_ptr.h 318 typedef T element_type; typedef in class:rtc::scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) {}
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {}
385 void reset(element_type* p = nullptr) { impl_.reset(p); }
389 element_type& operator*() const {
393 element_type* operator->() const {
397 element_type* get() const { return impl_.get(); }
403 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
411 typedef rtc::internal::scoped_ptr_impl<element_type, deleter_type>
422 bool operator==(const element_type* p) const { return impl_.get() == p;
469 typedef T element_type; typedef in class:rtc::scoped_ptr
    [all...]
  /external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/
element_type.pass.cpp 16 // typedef X element_type;
29 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/
types.pass.cpp 15 // typedef T element_type;
28 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
  /external/tensorflow/tensorflow/compiler/xla/service/
bfloat16_normalization.cc 88 user->shape().element_type() == F32) {
104 auto original_type = hlo->shape().element_type();
137 if (comp->root_instruction()->shape().element_type() == BF16) {
142 if (param->shape().element_type() == BF16) {
161 operand_types[i] = hlo->operand(i)->shape().element_type();
162 output_types[i] = ShapeUtil::GetSubshape(hlo->shape(), {i}).element_type();
216 if (comp->root_instruction()->shape().element_type() == F32) {
218 } else if (comp->root_instruction()->shape().element_type() == BF16) {
223 if (param->shape().element_type() == F32) {
225 } else if (param->shape().element_type() == BF16)
    [all...]
hlo_element_type_converter.cc 39 if (hlo->shape().element_type() != type) {
44 CHECK_EQ(hlo->shape().element_type(), type);
50 if (operand->shape().element_type() == type) {
72 if (subshape.element_type() == from_type) {
96 if (ele_shape.element_type() != to_ele_shape.element_type()) {
155 bool wrong_element_type = hlo->shape().element_type() == eliminate_type_;
163 TF_RET_CHECK(hlo->shape().element_type() != eliminate_type_);
174 if (operand->shape().element_type() == eliminate_type_) {
185 if (hlo->shape().element_type() == eliminate_type_)
    [all...]
bfloat16_normalization_test.cc 116 EXPECT_EQ(add0->shape().element_type(), BF16);
117 EXPECT_EQ(add1->shape().element_type(), F32);
145 EXPECT_EQ(mul0->shape().element_type(), F32);
146 EXPECT_EQ(mul1->shape().element_type(), F32);
175 EXPECT_EQ(sub0->shape().element_type(), F32);
176 EXPECT_EQ(sub1->shape().element_type(), F32);
217 .element_type(),
222 .element_type(),
227 .element_type(),
229 EXPECT_EQ(reduce->shape().element_type(), F32)
    [all...]
  /external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
webrtc_PausePlayPeerConnections.py 14 def run_once(self, mode = 'functional', element_type='video'):
19 @param element_type: the element type to use for feeds, video or audio.
30 "elementType = '{}'".format(element_type))
  /external/llvm/utils/
shuffle_fuzz.py 49 (width, element_type) = random.choice(
53 (width, element_type) = random.choice(
59 element_type = random.choice(element_types)
63 'f32': 1 << 32, 'f64': 1 << 64}[element_type]
113 (args.seed, width, element_type))
143 integral_element_type = element_type
144 if element_type == 'f32':
146 element_type = 'float'
147 elif element_type == 'f64':
149 element_type = 'double
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/
shuffle_fuzz.py 49 (width, element_type) = random.choice(
53 (width, element_type) = random.choice(
59 element_type = random.choice(element_types)
63 'f32': 1 << 32, 'f64': 1 << 64}[element_type]
113 (args.seed, width, element_type))
143 integral_element_type = element_type
144 if element_type == 'f32':
146 element_type = 'float'
147 elif element_type == 'f64':
149 element_type = 'double
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/
shape_util.cc 92 PrimitiveType element_type, absl::Span<const int64> dimensions,
99 if (element_type == OPAQUE || element_type == TUPLE) {
101 PrimitiveType_Name(element_type));
104 ShapeUtil::MakeValidatedShape(element_type, dimensions));
158 /* static */ Shape ShapeUtil::MakeShape(PrimitiveType element_type,
160 return MakeValidatedShape(element_type, dimensions).ValueOrDie();
164 PrimitiveType element_type, absl::Span<const int64> dimensions,
166 return MakeValidatedShape(element_type, dimensions, dynamic_dimensions)
171 PrimitiveType element_type, absl::Span<const int64> dimensions)
    [all...]
  /external/libxaac/decoder/
ixheaacd_common_lpfuncs.c 104 WORD *ptr_element_type = p_obj_enhaacplus_dec->aac_config.element_type;
269 WORD element_type; local
297 element_type = (element_tag >> 4) & 0x7;
302 while (element_type == 4 || element_type == 5 || element_type == 6) {
337 element_type = (element_tag >> 4) & 0x7;
347 if (element_type == 1) {
352 if (p_obj_enhaacplus_dec->aac_config.element_type[j] == element_type &
    [all...]

Completed in 836 milliseconds

1 2 3 4 5 6 7 8 91011>>