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

1 2 3

  /external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
Symmetry.h 28 template<std::size_t NumIndices, typename... Sym> struct tensor_symmetry_pre_analysis;
29 template<std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup;
30 template<bool instantiate, std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup_if;
139 constexpr static std::size_t NumIndices = internal::tensor_symmetry_num_indices<Gen...>::value;
140 typedef typename internal::tensor_symmetry_pre_analysis<NumIndices, Gen...>::root_type Base;
226 template<std::size_t NumIndices>
227 struct tensor_symmetry_pre_analysis<NumIndices>
232 template<std::size_t NumIndices, typename Gen_, typename... Gens_>
233 struct tensor_symmetry_pre_analysis<NumIndices, Gen_, Gens_...>
237 typedef tensor_static_symgroup_if<(sizeof...(Gens_) + 1 <= max_static_generators), NumIndices, Gen_, Gens_...> helper
    [all...]
StaticSymmetry.h 114 template<std::size_t NumIndices, typename... Gen>
142 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Args>
143 static inline RV run(const std::array<Index, NumIndices>& idx, RV initial, Args&&... args)
145 static_assert(NumIndices >= SGNumIndices, "Can only apply symmetry group to objects that have at least the required amount of indices.");
146 typedef typename internal::gen_numeric_list<int, NumIndices - SGNumIndices, SGNumIndices>::type remaining_indices;
163 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Args>
164 static inline RV run(const std::array<Index, NumIndices>&, RV initial, Args&&...)
183 constexpr static std::size_t NumIndices = internal::tensor_symmetry_num_indices<Gen...>::value;
187 typename internal::tensor_static_symgroup_identity_ctor<NumIndices>::type,
188 internal::type_list<typename internal::tensor_static_symgroup_element_ctor<Gen, NumIndices>::type...
    [all...]
DynamicSymmetry.h 57 static_assert(sizeof...(otherIndices) + 1 == Tensor_::NumIndices, "Number of indices used to access a tensor coefficient must be equal to the rank of the tensor.");
58 return operator()(tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices>{{firstIndex, otherIndices...}});
62 inline internal::tensor_symmetry_value_setter<Tensor_, DynamicSGroup> operator()(Tensor_& tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices> const& indices) const
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
Tensor.h 83 static const int NumIndices = NumIndices_;
92 static const bool is_array = internal::is_base_of<array<Index, NumIndices>, CustomIndices>::value;
100 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank() const { return NumIndices; }
118 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
119 return coeff(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
124 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const
137 return coeff(internal::customIndices2Array<Index,NumIndices>(indices));
143 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE);
158 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
159 return coeffRef(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}})
    [all...]
TensorMap.h 49 static const Index NumIndices = PlainObjectType::NumIndices;
62 EIGEN_STATIC_ASSERT((0 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
69 EIGEN_STATIC_ASSERT((sizeof...(otherDimensions) + 1 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
75 EIGEN_STATIC_ASSERT((1 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
79 EIGEN_STATIC_ASSERT(2 == NumIndices || NumIndices == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE
    [all...]
TensorFixedSize.h 49 static const std::size_t NumIndices = Dimensions::count;
55 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank() const { return NumIndices; }
73 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
74 return coeff(array<Index, NumIndices>{{firstIndex, otherIndices...}});
79 EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const
95 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE);
105 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
106 return coeffRef(array<Index, NumIndices>{{firstIndex, otherIndices...}});
111 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices)
127 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE)
    [all...]
TensorDimensions.h 40 template<typename Index, std::size_t NumIndices, std::size_t n, bool RowMajor>
44 static inline Index run(array<Index, NumIndices> const& indices,
47 return array_get<RowMajor ? n - 1 : (NumIndices - n)>(indices) +
48 dget<RowMajor ? n - 1 : (NumIndices - n), Dimensions>::value *
49 fixed_size_tensor_index_linearization_helper<Index, NumIndices, n - 1, RowMajor>::run(indices, dimensions);
53 template<typename Index, std::size_t NumIndices, bool RowMajor>
54 struct fixed_size_tensor_index_linearization_helper<Index, NumIndices, 0, RowMajor>
57 static inline Index run(array<Index, NumIndices> const&, const Dimensions&)
234 template<typename Index, std::size_t NumIndices, std::size_t n, bool RowMajor>
238 Index run(array<Index, NumIndices> const& indices, array<Index, NumIndices> const& dimensions
    [all...]
TensorRef.h 133 static const Index NumIndices = PlainObjectType::NumIndices;
291 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC
292 EIGEN_STRONG_INLINE const Scalar coeff(const array<Index, NumIndices>& indices) const
298 for (size_t i = 1; i < NumIndices; ++i) {
302 index += indices[NumIndices-1];
303 for (int i = NumIndices-2; i >= 0; --i) {
309 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC
310 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices)
316 for (size_t i = 1; i < NumIndices; ++i)
    [all...]
TensorMeta.h 183 template<typename Index, std::size_t NumIndices, typename IndexType>
185 array<Index, NumIndices> customIndices2Array(IndexType& idx) {
186 return customIndices2Array(idx, typename gen_numeric_list<Index, NumIndices>::type{});
  /art/runtime/
quicken_info.h 69 return table.data_ + table.NumIndices() * 2 - data.data();
72 uint32_t NumIndices() const {
dex_to_dex_decompiler.cc 74 DCHECK_LT(quicken_index_, quicken_info_.NumIndices());
105 if (quicken_info_.NumIndices() > 0) {
182 if (quicken_index_ != quicken_info_.NumIndices()) {
189 << " Expected: " << quicken_info_.NumIndices();
  /external/capstone/
MCRegisterInfo.c 35 uint16_t *SubIndices, unsigned NumIndices,
49 RI->NumSubRegIndices = NumIndices;
MCRegisterInfo.h 104 unsigned NumIndices,
  /external/tensorflow/tensorflow/core/framework/
tensor_types.h 118 TensorType::NumIndices>::Tensor32Bit
121 TensorType::NumIndices>::Tensor32Bit RetType;
  /external/llvm/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/MC/
MCRegisterInfo.h 255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;

Completed in 865 milliseconds

1 2 3