Home
last modified time | relevance | path

Searched refs:getDimensions (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/op/
Dconcate_tensorrt.cc54 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims != in AddInnerOp()
55 tensorrt_in_tensors_[1].trt_tensor_->getDimensions().nbDims) { in AddInnerOp()
62 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D) { in AddInnerOp()
88 if (trt_input_tensors[0]->getDimensions().nbDims == DIMENSION_4D && out_format == Format::NCHW) { in AddInnerOp()
Dreduce_tensorrt.cc62 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in AddInnerOp()
63 !SameDims(tensorrt_in_tensors_[0].trt_tensor_->getDimensions(), in_tensors_[0].Shape())) { in AddInnerOp()
81 if (reduce_input->getDimensions().nbDims < DIMENSION_4D) { in AddInnerOp()
88 nvinfer1::Dims unsqueeze_dims = reduce_input->getDimensions(); in AddInnerOp()
Dpad_tensorrt.cc63 if (element_cnt != tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims * INPUT_SIZE2) { in AddInnerOp()
65 … << ", input tensor dims cnt: " << tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims; in AddInnerOp()
70 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in AddInnerOp()
Dsoftmax_tensorrt.cc77 if (axis_val[0] >= this->tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims) { in AddSoftMaxOp()
82 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in AddSoftMaxOp()
Dresize_tensorrt.cc46 …if (resize_in_tensor->getDimensions().nbDims == DIMENSION_4D && tensorrt_in_tensors_[0].format_ ==… in AddInnerOp()
88 nvinfer1::Dims new_dims = resize_in_tensor->getDimensions(); // nhwc in SetOutputDims()
103 if (in_tensors_[1].ElementNum() != resize_in_tensor->getDimensions().nbDims) { in SetOutputDims()
Dscale_tensorrt.cc128 …if (activation_tensor->getDimensions().nbDims > static_cast<int>(out_tensors_[0].Shape().size())) { in AddInnerOp()
146 } else if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in PreProcessInputTensor()
158 } else if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in PreProcessInputTensor()
Dshuffle_tensorrt.cc77 if (tensorrt_in_tensors_[0].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in AddInnerOp()
78 !SameDims(tensorrt_in_tensors_[0].trt_tensor_->getDimensions(), in_tensors_[0].Shape())) { in AddInnerOp()
196 auto unsqueeze_shape = tensorrt_in_tensors_[0].trt_tensor_->getDimensions(); in AddUnsqueezeOp()
/third_party/skia/tools/viewer/
DSlideDir.cpp84 const auto isize = fSlide->getDimensions(); in onRevalidate()
90 canvas->clipRect(SkRect::Make(fSlide->getDimensions()), true); in onRender()
110 const auto slideSize = slide->getDimensions(); in SlideMatrix()
313 const auto slideSize = slide->getDimensions(); in load()
357 SkISize SlideDir::getDimensions() const { in getDimensions() function in SlideDir
430 const auto size = this->getDimensions(); in findCell()
DImageSlide.h19 SkISize getDimensions() const override;
DGMSlide.h19 SkISize getDimensions() const override { return fGM->getISize(); } in getDimensions() function
DImageSlide.cpp18 SkISize ImageSlide::getDimensions() const { in getDimensions() function in ImageSlide
DSKPSlide.h20 SkISize getDimensions() const override { return fCullRect.size(); } in getDimensions() function
DSvgSlide.h23 SkISize getDimensions() const override;
DSkRiveSlide.h27 SkISize getDimensions() const override;
/third_party/flutter/skia/tools/viewer/
DSlideDir.cpp71 const auto isize = fSlide->getDimensions(); in onRevalidate()
77 canvas->clipRect(SkRect::Make(fSlide->getDimensions()), true); in onRender()
97 const auto slideSize = slide->getDimensions(); in SlideMatrix()
303 const auto slideSize = slide->getDimensions(); in load()
347 SkISize SlideDir::getDimensions() const { in getDimensions() function in SlideDir
418 const auto size = this->getDimensions(); in findCell()
DImageSlide.h19 SkISize getDimensions() const override;
DSKPSlide.h19 SkISize getDimensions() const override { return fCullRect.size(); } in getDimensions() function
DSvgSlide.h22 SkISize getDimensions() const override;
DGMSlide.h19 SkISize getDimensions() const override { return fGM->getISize(); } in getDimensions() function
DImageSlide.cpp18 SkISize ImageSlide::getDimensions() const { in getDimensions() function in ImageSlide
DSvgSlide.cpp36 SkISize SvgSlide::getDimensions() const { in getDimensions() function in SvgSlide
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11.hpp76 virtual void getDimensions (int* width, int* height) const = 0;
126 void getDimensions (int* width, int* height) const;
DtcuLnxX11GlxPlatform.cpp146 virtual void getDimensions (int* width, int* height) = 0;
166 void getDimensions (int* width, int* height);
435 getDimensions(&width, DE_NULL); in getWidth()
442 getDimensions(DE_NULL, &height); in getHeight()
455 void GlxWindow::getDimensions (int* width, int* height) in getDimensions() function in tcu::lnx::x11::glx::GlxWindow
464 m_x11Window.getDimensions(width, height); in getDimensions()
DtcuLnxX11Xcb.cpp149 void XcbWindow::getDimensions (int* width, int* height) const in getDimensions() function in tcu::lnx::x11::XcbWindow
184 getDimensions (&w,&h); in setDimensions()
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/
Dtensorrt_subgraph.cc270 … if (out_op->GetInnerOutTensor()[index].trt_tensor_->getDimensions().nbDims == DIMENSION_4D && in MarkOutputs()
272 … !SameDims(out_op->GetInnerOutTensor()[index].trt_tensor_->getDimensions(), out_tensor.Shape())) { in MarkOutputs()
287 for (int n = 0; n < out_trt_tensor->getDimensions().nbDims; n++) { in MarkOutputs()
288 if (out_trt_tensor->getDimensions().d[n] == -1) { in MarkOutputs()
364 nvinfer1::Dims contruct_dim = this->network_->getInput(j)->getDimensions(); in ReSize()

1234