Home
last modified time | relevance | path

Searched refs:TensorFixedSize (Results 1 – 12 of 12) sorted by relevance

/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_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_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()
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/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorFixedSize.h27 class TensorFixedSize : public TensorBase<TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType…
30 typedef TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> Self;
31 typedef TensorBase<TensorFixedSize<Scalar_, Dimensions_, Options_, IndexType> > Base;
301 EIGEN_STRONG_INLINE TensorFixedSize() in TensorFixedSize() function
307 EIGEN_STRONG_INLINE TensorFixedSize(const Self& other) in TensorFixedSize() function
313 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorFixedSize(Self&& other) in TensorFixedSize() function
321 EIGEN_STRONG_INLINE TensorFixedSize(const TensorBase<OtherDerived, ReadOnlyAccessors>& other) in TensorFixedSize() function
323 typedef TensorAssignOp<TensorFixedSize, const OtherDerived> Assign; in TensorFixedSize()
329 EIGEN_STRONG_INLINE TensorFixedSize(const TensorBase<OtherDerived, WriteAccessors>& other) in TensorFixedSize() function
331 typedef TensorAssignOp<TensorFixedSize, const OtherDerived> Assign; in TensorFixedSize()
[all …]
DTensorTraits.h66 struct traits<TensorFixedSize<Scalar_, Dimensions, Options_, IndexType_> >
134 struct eval<TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>, Eigen::Dense>
136 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
140 struct eval<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>, Eigen::Dense>
142 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
188 struct nested<TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
190 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
194 struct nested<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
196 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
DREADME.md48 ### Class TensorFixedSize<data_type, Sizes<size0, size1, ...>>
58 TensorFixedSize<float, Sizes<4, 3>> t_4x3;
233 TensorFixedSize<float, Sizes<size0, ...>> result = t4;
253 * Assignment to a Tensor, TensorFixedSize, or TensorMap.
257 #### Assigning to a Tensor, TensorFixedSize, or TensorMap.
271 Operation to a TensorFixedSize instead of a Tensor, which is a bit more
275 TensorFixedSize<float, 4, 4, 2> result = t5;
278 tensors of type TensorFixedSize, TensorMaps cannot be resized so they have to
299 TensorFixedSize<float, 4, 4, 2> tmp = t1 + t2;
488 Tensor, TensorFixedSize, and TensorMap.
[all …]
DTensorForwardDeclarations.h27 …ar_, typename Dimensions, int Options_ = 0, typename IndexType = DenseIndex> class TensorFixedSize; variable
DTensorBase.h820 …ypename Scalar, typename Dimensions, int Option, typename IndexTypes> friend class TensorFixedSize; variable
836 …ypename Scalar, typename Dimensions, int Option, typename IndexTypes> friend class TensorFixedSize; variable
/external/eigen/unsupported/Eigen/CXX11/
DTensor144 #include "src/Tensor/TensorFixedSize.h"