Home
last modified time | relevance | path

Searched refs:Dimensions (Results 1 – 25 of 164) sorted by relevance

1234567

/external/tensorflow/tensorflow/core/kernels/
Deigen_benchmark.h36 using Dimensions = Eigen::DSizes<Eigen::Index, 4>; variable
42 Eigen::Index BufferSize(const Dimensions& dims) { in BufferSize()
46 void SpatialConvolution(Dimensions input_dims, Dimensions filter_dims) { in SpatialConvolution()
47 Dimensions output_dims(input_dims[0], // batch in SpatialConvolution()
76 void SpatialConvolutionBackwardInput(Dimensions input_dims, in SpatialConvolutionBackwardInput()
77 Dimensions filter_dims) { in SpatialConvolutionBackwardInput()
81 Dimensions output_dims(input_dims[0], // batch in SpatialConvolutionBackwardInput()
115 void SpatialConvolutionBackwardKernel(Dimensions input_dims, in SpatialConvolutionBackwardKernel()
116 Dimensions filter_dims) { in SpatialConvolutionBackwardKernel()
120 Dimensions output_dims(input_dims[0], // batch in SpatialConvolutionBackwardKernel()
[all …]
Deigen_benchmark_cpu_test.cc42 typename Benchmark::Dimensions input_dims(input_batches, input_height, in SpatialConvolution()
44 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolution()
70 typename Benchmark::Dimensions input_dims(input_batches, input_height, in SpatialConvolutionBackwardInput()
72 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolutionBackwardInput()
97 typename Benchmark::Dimensions input_dims(input_batches, input_height, in SpatialConvolutionBackwardKernel()
99 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolutionBackwardKernel()
260 typename Benchmark::Dimensions input_dims( in CuboidConvolution()
262 typename Benchmark::Dimensions filter_dims( in CuboidConvolution()
289 typename Benchmark::Dimensions input_dims( in CuboidConvolutionBackwardInput()
291 typename Benchmark::Dimensions filter_dims( in CuboidConvolutionBackwardInput()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorRef.h17 template <typename Dimensions, typename Scalar>
23 EIGEN_DEVICE_FUNC virtual const Dimensions& dimensions() const = 0;
42 template <typename Dimensions, typename Expr, typename Device>
43 class TensorLazyEvaluatorReadOnly : public TensorLazyBaseEvaluator<Dimensions, typename TensorEvalu…
56 EIGEN_DEVICE_FUNC virtual const Dimensions& dimensions() const { in dimensions()
73 Dimensions m_dims;
77 template <typename Dimensions, typename Expr, typename Device>
78 class TensorLazyEvaluatorWritable : public TensorLazyEvaluatorReadOnly<Dimensions, Expr, Device> {
80 typedef TensorLazyEvaluatorReadOnly<Dimensions, Expr, Device> Base;
93 template <typename Dimensions, typename Expr, typename Device>
[all …]
DTensorTraits.h65 template<typename Scalar_, typename Dimensions, int Options_, typename IndexType_>
66 struct traits<TensorFixedSize<Scalar_, Dimensions, Options_, IndexType_> >
71 static const int NumDimensions = array_size<Dimensions>::value;
133 template<typename Scalar_, typename Dimensions, int Options, typename IndexType_>
134 struct eval<TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>, Eigen::Dense>
136 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
139 template<typename Scalar_, typename Dimensions, int Options, typename IndexType_>
140 struct eval<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>, Eigen::Dense>
142 typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
187 template <typename Scalar_, typename Dimensions, int Options, typename IndexType_>
[all …]
DTensorEvaluator.h34 typedef typename Derived::Dimensions Dimensions; typedef
54 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dims; } in dimensions()
118 Dimensions m_dims;
154 typedef typename Derived::Dimensions Dimensions;
175 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dims; }
217 Dimensions m_dims;
250 typedef typename TensorEvaluator<ArgType, Device>::Dimensions Dimensions;
252 EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
315 typedef typename TensorEvaluator<ArgType, Device>::Dimensions Dimensions;
317 EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
[all …]
DTensorSyclExtractFunctors.h37 typedef typename Evaluator::Dimensions Dimensions; typedef
38 const Dimensions m_dimensions;
39 const Dimensions& dimensions() const { return m_dimensions; } in dimensions()
157 …utDims==0, DSizes<typename Evaluator::Index, 1>, typename Evaluator::Dimensions >::type Dimensions;
158 const Dimensions m_dimensions;
159 const Dimensions& dimensions() const { return m_dimensions; }
161 : m_dimensions(DimConstr<Dimensions, Evaluator::NumOutputDims>::getDim(expr.dimensions())) {}
DTensorConcatenation.h114 …t NumDims = internal::array_size<typename TensorEvaluator<LeftArgType, Device>::Dimensions>::value;
115 …tNumDims = internal::array_size<typename TensorEvaluator<RightArgType, Device>::Dimensions>::value;
116 typedef DSizes<Index, NumDims> Dimensions;
135 const Dimensions& lhs_dims = m_leftImpl.dimensions();
136 const Dimensions& rhs_dims = m_rightImpl.dimensions();
177 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
213 const Dimensions& left_dims = m_leftImpl.dimensions();
230 const Dimensions& right_dims = m_rightImpl.dimensions();
281 Dimensions m_dimensions;
297 typedef typename Base::Dimensions Dimensions;
[all …]
DTensorContraction.h24 template<typename Dimensions, typename LhsXprType, typename RhsXprType>
25 struct traits<TensorContractionOp<Dimensions, LhsXprType, RhsXprType> >
41 …RhsXprType>::NumDimensions + traits<RhsXprType>::NumDimensions - 2 * array_size<Dimensions>::value;
49 template<typename Dimensions, typename LhsXprType, typename RhsXprType>
50 struct eval<TensorContractionOp<Dimensions, LhsXprType, RhsXprType>, Eigen::Dense>
52 typedef const TensorContractionOp<Dimensions, LhsXprType, RhsXprType>& type;
55 template<typename Dimensions, typename LhsXprType, typename RhsXprType>
56 struct nested<TensorContractionOp<Dimensions, LhsXprType, RhsXprType>, 1, typename eval<TensorContr…
58 typedef TensorContractionOp<Dimensions, LhsXprType, RhsXprType> type;
140 internal::array_size<typename TensorEvaluator<EvalLeftArgType, Device>::Dimensions>::value;
[all …]
DTensorArgMax.h83 typedef typename TensorEvaluator<ArgType, Device>::Dimensions Dimensions;
84 static const int NumDims = internal::array_size<Dimensions>::value;
98 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {
208 …sorReductionOp<ReduceOp, Dims, const TensorIndexTupleOp<ArgType> >, Device>::Dimensions Dimensions;
209 …typedef typename TensorEvaluator<const TensorIndexTupleOp<ArgType> , Device>::Dimensions InputDime…
238 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {
DTensorShuffling.h104 …t int NumDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
105 typedef DSizes<Index, NumDims> Dimensions;
122 const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();
151 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
210 Dimensions m_dimensions;
226 …t int NumDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
227 typedef DSizes<Index, NumDims> Dimensions;
DTensorIO.h61 typedef typename Evaluator::Dimensions Dimensions;
69 static const int rank = internal::array_size<Dimensions>::value;
DTensorStorage.h34 template<typename T, typename Dimensions, int Options_> class TensorStorage;
74 typedef DSizes<IndexType, NumIndices_> Dimensions; typedef
114 … EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {return m_dimensions;} in dimensions()
141 Dimensions m_dimensions;
/external/llvm-project/clang/test/SemaCUDA/
Dcxx11-kernel-call.cu7 template<int ...Dimensions> void k1Wrapper() { in k1Wrapper()
8 …void (*f)() = [] { k1<<<Dimensions, Dimensions>>>(); }; // expected-error {{initializer contains u… in k1Wrapper()
9 void (*g[])() = { [] { k1<<<Dimensions, Dimensions>>>(); } ... }; // ok in k1Wrapper()
/external/clang/test/SemaCUDA/
Dcxx11-kernel-call.cu7 template<int ...Dimensions> void k1Wrapper() { in k1Wrapper()
8 …void (*f)() = [] { k1<<<Dimensions, Dimensions>>>(); }; // expected-error {{initializer contains u… in k1Wrapper()
9 void (*g[])() = { [] { k1<<<Dimensions, Dimensions>>>(); } ... }; // ok in k1Wrapper()
/external/openscreen/cast/streaming/
Dcapture_recommendations_unittest.cc27 Dimensions{1024, 768, SimpleFraction{60, 1}}, absl::nullopt, absl::nullopt};
48 Dimensions{1024, 768, SimpleFraction{60, 1}}, absl::nullopt,
52 Dimensions{1920, 1080, SimpleFraction{30, 1}}, AspectRatio{16, 9},
56 Dimensions{1024, 768, SimpleFraction{60, 1}}, AspectRatio{4, 3},
60 Dimensions{300, 200, SimpleFraction{30, 1}}, AspectRatio{3, 2},
64 Dimensions{300, 200, SimpleFraction{30, 1}}, AspectRatio{3, 4},
71 {6000000, Dimensions{640, 480, SimpleFraction{30, 1}},
72 Dimensions{3840, 2160, SimpleFraction{144, 1}}, 600000, 6000000,
77 {60000, Dimensions{120, 80, SimpleFraction{10, 1}},
78 Dimensions{1200, 800, SimpleFraction{30, 1}}, 100000, 1000000,
[all …]
Danswer_messages.h49 struct Dimensions { struct
50 static bool ParseAndValidate(const Json::Value& value, Dimensions* out);
65 absl::optional<Dimensions> min_dimensions = {}; argument
66 Dimensions max_dimensions = {};
106 absl::optional<Dimensions> dimensions;
Danswer_messages_unittest.cc84 absl::optional<Dimensions>(Dimensions{
89 Dimensions{
100 absl::optional<Dimensions>(Dimensions{
116 constexpr Dimensions kValidDimensions{1920, 1080, SimpleFraction{60, 1}};
118 kValidMaxPixelsPerSecond, absl::optional<Dimensions>(kValidDimensions),
456 constexpr Dimensions kValidZeroFrameRate{1920, 1080, SimpleFraction{0, 60}}; in TEST()
457 constexpr Dimensions kInvalidWidth{0, 1080, SimpleFraction{60, 1}}; in TEST()
458 constexpr Dimensions kInvalidHeight{1920, 0, SimpleFraction{60, 1}}; in TEST()
459 constexpr Dimensions kInvalidFrameRateZeroDenominator{1920, 1080, in TEST()
461 constexpr Dimensions kInvalidFrameRateNegativeNumerator{ in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h45 static constexpr auto Dimensions = LinearPolyBaseTypeTraits<LeafTy>::Dimensions; variable
46 static_assert(Dimensions != std::numeric_limits<unsigned>::max(),
50 std::array<ScalarTy, Dimensions> Coefficients;
59 for (unsigned I=0; I<Dimensions; ++I)
65 for (unsigned I=0; I<Dimensions; ++I)
123 static constexpr unsigned Dimensions = 2;
164 static constexpr auto Dimensions = LinearPolyBaseTypeTraits<LeafTy>::Dimensions;
165 static_assert(Dimensions != std::numeric_limits<unsigned>::max(),
174 assert(UnivariateDim < Dimensions && "Dimension out of range");
379 static constexpr unsigned Dimensions = 2;
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/abseil-cpp/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/openscreen/third_party/abseil/src/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/angle/third_party/abseil-cpp/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/webrtc/third_party/abseil-cpp/absl/types/
Dvariant_benchmark.cc94 template <std::size_t NumIndices, class Dimensions>
108 template <std::size_t NumIndices, std::size_t... Dimensions>
109 struct MakeVariantTuple<NumIndices, absl::index_sequence<Dimensions...>> {
111 std::tuple<always_t<VariantOfAlternatives<NumIndices>, Dimensions>...>;
114 return std::make_tuple(MakeVariant<NumIndices>(Dimensions, index)...); in Run()
/external/tensorflow/tensorflow/lite/delegates/gpu/
Dapi.h194 struct Dimensions { struct
195 Dimensions() : b(1), h(1), w(1), c(1) {} in Dimensions() argument
197 Dimensions(int32_t batch, int32_t height, int32_t width, int32_t channels) in Dimensions() argument
204 bool operator==(const Dimensions& other) const { argument
217 Dimensions dimensions;
262 const Dimensions& dimensions) = 0;

1234567