Home
last modified time | relevance | path

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

123

/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()
/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);
/external/tensorflow/tensorflow/core/kernels/
Deigen_attention.h165 TensorFixedSize<Scalar, Sizes<> > mini; in eval()
167 TensorFixedSize<float, Sizes<> > range; in eval()
174 mini.reshape(Sizes<1, 1, 1>()).broadcast(glimpse_size) + in eval()
176 range.reshape(Sizes<1, 1, 1>()).broadcast(glimpse_size)) in eval()
189 TensorFixedSize<Scalar, Sizes<> > mean; in eval()
194 TensorFixedSize<float, Sizes<> > sigma; in eval()
199 mean.reshape(Sizes<1, 1>()).broadcast(input_size)) in eval()
203 TensorFixedSize<Scalar, Sizes<> > mini; in eval()
206 TensorFixedSize<float, Sizes<> > maxi; in eval()
212 (mean.reshape(Sizes<1, 1>()).broadcast(glimpse_size) + in eval()
[all …]
Dtraining_ops_gpu.cu.cc35 Eigen::Sizes<1> single; in operator ()()
51 Eigen::Sizes<1> single; in operator ()()
67 Eigen::Sizes<1> single; in operator ()()
92 Eigen::Sizes<1> single; in operator ()()
113 Eigen::Sizes<1> single; in operator ()()
138 Eigen::Sizes<1> single; in operator ()()
182 Eigen::Sizes<1> single; in operator ()()
213 Eigen::Sizes<1> single; in operator ()()
238 Eigen::Sizes<1> single; in operator ()()
263 Eigen::Sizes<1> single; in operator ()()
[all …]
Dadjust_contrast_op.h69 Eigen::Sizes<1, 1, 1, 1> scalar; in operator()
139 Eigen::Sizes<1, 1, 1, 1> scalar; in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DDelinearization.cpp100 SmallVector<const SCEV *, 3> Subscripts, Sizes; in print() local
101 SE->delinearize(AccessFn, Subscripts, Sizes, SE->getElementSize(Inst)); in print()
102 if (Subscripts.size() == 0 || Sizes.size() == 0 || in print()
103 Subscripts.size() != Sizes.size()) { in print()
112 O << "[" << *Sizes[i] << "]"; in print()
113 O << " with elements of " << *Sizes[Size - 1] << " bytes.\n"; in print()
/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/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp20 Sizes.ClearAndReserve(numFiles); in Init()
71 Sizes.Add(_pos); in AddFileInfo()
119 if (subStream > Sizes.Size()) in GetSubStreamSize()
123 if (index < Sizes.Size()) in GetSubStreamSize()
125 *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/src/core/
DSkVertices.cpp29 struct SkVertices::Sizes { struct in SkVertices
30 Sizes(SkVertices::VertexMode mode, int vertexCount, int indexCount, bool hasTexs, in Sizes() function
101 SkVertices::Sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones)); in Builder() argument
105 const SkVertices::Sizes& sizes) { in Builder()
110 const SkVertices::Sizes& sizes) { in init()
284 Sizes sizes(mode, in MakeCopy()
309 Sizes sizes(fMode, in approximateSize()
349 Sizes sizes(fMode, in encode()
397 Sizes sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones); in Decode()
/external/skqp/src/core/
DSkVertices.cpp29 struct SkVertices::Sizes { struct in SkVertices
30 Sizes(SkVertices::VertexMode mode, int vertexCount, int indexCount, bool hasTexs, in Sizes() argument
101 SkVertices::Sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones)); in Builder() argument
105 const SkVertices::Sizes& sizes) { in Builder()
110 const SkVertices::Sizes& sizes) { in init()
284 Sizes sizes(mode, in MakeCopy()
309 Sizes sizes(fMode, in approximateSize()
349 Sizes sizes(fMode, in encode()
397 Sizes sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones); in Decode()
/external/tensorflow/tensorflow/core/framework/
Dtensor_types.h47 Eigen::TensorFixedSize<T, Eigen::Sizes<>, Eigen::RowMajor, IndexType>,
50 typedef Eigen::TensorMap<Eigen::TensorFixedSize<const T, Eigen::Sizes<>,
57 Eigen::TensorFixedSize<T, Eigen::Sizes<>, Eigen::RowMajor, IndexType> >
59 typedef Eigen::TensorMap<Eigen::TensorFixedSize<const T, Eigen::Sizes<>,
/external/clang/test/Index/
Dprint-type-size.cpp212 namespace Sizes { namespace
391 Foo<Sizes::A> t1;
392 Foo<Sizes::I> t2;
/external/skia/include/core/
DSkVertices.h168 struct Sizes;
197 Builder(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, const Sizes&);
199 void init(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, const Sizes&);
/external/skqp/include/core/
DSkVertices.h168 struct Sizes;
197 Builder(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, const Sizes&);
199 void init(VertexMode mode, int vertexCount, int indexCount, bool isVolatile, const Sizes&);
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_sparse_texture2.txt85 Standard Virtual Page Sizes Test
88 Virtual Page Sizes for Sparse Textures and <pname>:
94 Check if values returned by query matches Standard Virtual Page Sizes.
/external/apache-commons-compress/src/test/resources/archives/
Dfiles.txt1 # Sizes and filenames in the archives
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp295 ulittle32_t *Sizes = Allocator.Allocate<ulittle32_t>(StreamData.size()); in generateLayout() local
296 L.StreamSizes = ArrayRef<ulittle32_t>(Sizes, StreamData.size()); in generateLayout()
299 Sizes[I] = StreamData[I].first; in generateLayout()

123