Home
last modified time | relevance | path

Searched refs:Sizes (Results 1 – 25 of 40) sorted by relevance

12

/external/eigen/unsupported/test/
Dcxx11_tensor_fixed_size.cpp20 TensorFixedSize<float, Sizes<> > scalar1; in test_0d()
21 TensorFixedSize<float, Sizes<>, RowMajor> scalar2; in test_0d()
30 TensorFixedSize<float, Sizes<> > copy = scalar1; in test_0d()
37 TensorFixedSize<float, Sizes<> > scalar3 = scalar1.sqrt(); in test_0d()
38 TensorFixedSize<float, Sizes<>, RowMajor> scalar4 = scalar2.sqrt(); in test_0d()
49 TensorFixedSize<float, Sizes<6> > vec1; in test_1d()
50 TensorFixedSize<float, Sizes<6>, RowMajor> vec2; in test_1d()
64 TensorFixedSize<float, Sizes<6> > copy = vec1; in test_1d()
75 TensorFixedSize<float, Sizes<6> > vec3 = vec1.sqrt(); in test_1d()
76 TensorFixedSize<float, Sizes<6>, RowMajor> vec4 = vec2.sqrt(); in test_1d()
[all …]
Dcxx11_tensor_empty.cpp27 TensorFixedSize<float, Sizes<0> > source; in test_empty_fixed_size_tensor()
28 TensorFixedSize<float, Sizes<0> > tgt1 = source; in test_empty_fixed_size_tensor()
29 TensorFixedSize<float, Sizes<0> > tgt2(source); in test_empty_fixed_size_tensor()
30 TensorFixedSize<float, Sizes<0> > tgt3; in test_empty_fixed_size_tensor()
Dcxx11_tensor_dimension.cpp32 Eigen::Sizes<2,3,7> dimensions; in test_fixed_size()
43 Eigen::Sizes<2,3,7> stat; in test_match()
53 Eigen::Sizes<> scalar; in test_rank_zero()
Dcxx11_tensor_map.cpp202 TensorFixedSize<int, Sizes<2,3,7> > mat5; in test_from_tensor()
218 TensorMap<TensorFixedSize<int, Sizes<2,3,7> > > mat6(mat5); in test_from_tensor()
240 EIGEN_STATIC_ASSERT((internal::array_size<Sizes<> >::value == 0), YOU_MADE_A_PROGRAMMING_MISTAKE); in f()
Dcxx11_tensor_broadcasting.cpp167 TensorFixedSize<float, Sizes<1>, DataLayout> t2; in test_fixed_size_broadcasting()
175 TensorMap<TensorFixedSize<float, Sizes<1>, DataLayout> > t4(t2.data(), {{1}}); in test_fixed_size_broadcasting()
Dcxx11_tensor_custom_index.cpp83 Sizes<1,2,4,1> coeffC; in test_sizes_as_index()
Dcxx11_tensor_assign.cpp204 TensorFixedSize<int, Sizes<5> > orig_array; in test_same_type()
205 TensorFixedSize<int, Sizes<5> > dest_array; in test_same_type()
Dcxx11_tensor_reduction.cpp228 TensorFixedSize<bool, Sizes<> > all; in test_simple_reductions()
234 TensorFixedSize<bool, Sizes<> > any; in test_simple_reductions()
/external/syslinux/gpxe/src/util/
Ddiffsize.pl64 our %Sizes;
81 $Sizes{$name} = {old => 0, new => 0} unless exists $Sizes{$name};
82 $Sizes{$name}{$id} = $total;
94 for (sort keys %Sizes) {
95 my $diff = $Sizes{$_}{new} - $Sizes{$_}{old};
97 printf "%12s %+d\n", substr($_, 0, 12), $Sizes{$_}{new} - $Sizes{$_}{old};
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDimensions.h93 struct Sizes : internal::numeric_list<std::ptrdiff_t, Indices...> {
105 EIGEN_DEVICE_FUNC Sizes() { }
107 explicit EIGEN_DEVICE_FUNC Sizes(const array<DenseIndex, Base::count>& /*indices*/) {
111 template <typename... DenseIndex> EIGEN_DEVICE_FUNC Sizes(DenseIndex...) { }
112 explicit EIGEN_DEVICE_FUNC Sizes(std::initializer_list<std::ptrdiff_t> /*l*/) {
117 template <typename T> Sizes& operator = (const T& /*other*/) {
138 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t array_prod(const Sizes<Indices...>&) {
139 return Sizes<Indices...>::total_size;
154 …size_t V1=0, std::size_t V2=0, std::size_t V3=0, std::size_t V4=0, std::size_t V5=0> struct Sizes {
167 Sizes() { }
[all …]
DTensorMorphing.h206 template<typename StartIndices, typename Sizes, typename XprType>
207 struct traits<TensorSlicingOp<StartIndices, Sizes, XprType> > : public traits<XprType>
219 template<typename StartIndices, typename Sizes, typename XprType>
220 struct eval<TensorSlicingOp<StartIndices, Sizes, XprType>, Eigen::Dense>
222 typedef const TensorSlicingOp<StartIndices, Sizes, XprType>& type;
225 template<typename StartIndices, typename Sizes, typename XprType>
226 …ruct nested<TensorSlicingOp<StartIndices, Sizes, XprType>, 1, typename eval<TensorSlicingOp<StartI…
228 typedef TensorSlicingOp<StartIndices, Sizes, XprType> type;
235 template<typename StartIndices, typename Sizes, typename XprType>
236 class TensorSlicingOp : public TensorBase<TensorSlicingOp<StartIndices, Sizes, XprType> >
[all …]
DTensorBase.h741 template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
742 const TensorSlicingOp<const StartIndices, const Sizes, const Derived>
743 slice(const StartIndices& startIndices, const Sizes& sizes) const { in slice()
744 …return TensorSlicingOp<const StartIndices, const Sizes, const Derived>(derived(), startIndices, si… in slice()
916 template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
917 const TensorSlicingOp<const StartIndices, const Sizes, const Derived>
918 slice(const StartIndices& startIndices, const Sizes& sizes) const { in slice()
919 …return TensorSlicingOp<const StartIndices, const Sizes, const Derived>(derived(), startIndices, si… in slice()
921 template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
922 TensorSlicingOp<const StartIndices, const Sizes, Derived>
[all …]
DTensorBroadcasting.h53 struct is_input_scalar<Sizes<> > {
58 struct is_input_scalar<Sizes<Indices...> > {
59 static const bool value = (Sizes<Indices...>::total_size == 1);
DTensorForwardDeclarations.h51 template<typename StartIndices, typename Sizes, typename XprType> class TensorSlicingOp;
/external/llvm/lib/Analysis/
DDelinearization.cpp110 SmallVector<const SCEV *, 3> Subscripts, Sizes; in print() local
111 SE->delinearize(AccessFn, Subscripts, Sizes, SE->getElementSize(Inst)); in print()
112 if (Subscripts.size() == 0 || Sizes.size() == 0 || in print()
113 Subscripts.size() != Sizes.size()) { in print()
122 O << "[" << *Sizes[i] << "]"; in print()
123 O << " with elements of " << *Sizes[Size - 1] << " bytes.\n"; in print()
/external/skia/src/core/
DSkVertices.cpp23 struct SkVertices::Sizes { struct in SkVertices
24 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { in Sizes() function
58 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); in Builder() argument
62 const SkVertices::Sizes& sizes) { in Builder()
67 const SkVertices::Sizes& sizes) { in init()
127 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); in MakeCopy()
144 Sizes sizes(fVertexCnt, fIndexCnt, this->hasTexCoords(), this->hasColors()); in approximateSize()
170 Sizes sizes(fVertexCnt, fIndexCnt, this->hasTexCoords(), this->hasColors()); in encode()
204 Sizes sizes(vertexCount, indexCount, hasTexs, hasColors); in Decode()
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp20 Sizes.ClearAndReserve(numFiles); in Init()
71 Sizes.Add(_pos); in AddFileInfo()
116 if (subStream > Sizes.Size()) in GetSubStreamSize()
120 if (index < Sizes.Size()) in GetSubStreamSize()
122 *value = Sizes[index]; in GetSubStreamSize()
D7zFolderInStream.h40 CRecordVector<UInt64> Sizes; variable
53 FOR_VECTOR (i, Sizes) in GetFullSize()
54 size += Sizes[i]; in GetFullSize()
/external/skia/include/core/
DSkVertices.h46 struct Sizes;
70 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
72 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
/external/clang/test/Index/
Dprint-type-size.cpp212 namespace Sizes { namespace
391 Foo<Sizes::A> t1;
392 Foo<Sizes::I> t2;
/external/fmtlib/doc/bootstrap/
Dwells.less21 // Sizes
Dbuttons.less124 // Button Sizes
/external/llvm/test/Transforms/InstCombine/
Dbitcast-alias-function.ll89 ; Sizes match, should only bitcast
105 ; Sizes match, should only bitcast
121 ; Sizes match, should only bitcast
/external/lzma/CPP/7zip/UI/Common/
DUpdate.cpp102 CRecordVector<UInt64> Sizes; member in COutMultiVolStream
191 if (index >= Sizes.Size()) in Write()
192 index = Sizes.Size() - 1; in Write()
193 UInt64 volSize = Sizes[index]; in Write()
735 volStreamSpec->Sizes = options.VolumesSizes; in Compress()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp5133 MapValuesArrayTy &Sizes, MapFlagsArrayTy &Types, in generateInfoForComponentList() argument
5332 Sizes.push_back(Size); in generateInfoForComponentList()
5387 MapValuesArrayTy &Pointers, MapValuesArrayTy &Sizes, in generateAllInfo() argument
5391 Sizes.clear(); in generateAllInfo()
5434 BasePointers, Pointers, Sizes, Types, in generateAllInfo()
5446 MapValuesArrayTy &Sizes, in generateInfoForCapture() argument
5453 Sizes.clear(); in generateInfoForCapture()
5471 L.second, BasePointers, Pointers, Sizes, in generateInfoForCapture()
5556 MappableExprsHandler::MapValuesArrayTy &Sizes, in emitOffloadingArrays() argument
5567 for (auto *S : Sizes) in emitOffloadingArrays()
[all …]

12