Home
last modified time | relevance | path

Searched refs:layout_ (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/
Dshape.h120 return dimensions_.at(layout_->minor_to_major(index)); in dimensions_minor()
127 dimensions_.at(layout_->minor_to_major(index)) = value; in set_dimensions_minor()
156 bool has_layout() const { return layout_ != std::nullopt; } in has_layout()
159 return *layout_; in layout()
163 if (layout_ == std::nullopt) { in mutable_layout()
164 layout_.emplace(); in mutable_layout()
166 return &(*layout_); in mutable_layout()
168 void clear_layout() { layout_ = std::nullopt; } in clear_layout()
281 h = H::combine(std::move(h), s.layout_); in Hash()
308 std::optional<Layout> layout_; variable
Dshape.cc129 for (int64_t i = 0; i < layout_->minor_to_major().size();) { in DeleteDimension()
130 if (layout_->minor_to_major(i) == dim_to_delete) { in DeleteDimension()
131 layout_->mutable_minor_to_major()->erase( in DeleteDimension()
132 layout_->mutable_minor_to_major()->begin() + i); in DeleteDimension()
135 if (layout_->minor_to_major(i) > dim_to_delete) { in DeleteDimension()
136 (*layout_->mutable_minor_to_major())[i] -= 1; in DeleteDimension()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.h197 VkDescriptorSetLayout GetDescriptorSetLayout() const { return layout_; }; in GetDescriptorSetLayout()
272 …ConstBindingIterator(const DescriptorSetLayout *layout) : layout_(layout), index_(0) { assert(layo… in ConstBindingIterator()
278 return layout_->GetDescriptorSetLayoutBindingPtrFromIndex(index_); in GetDescriptorSetLayoutBindingPtr()
280 uint32_t GetDescriptorCount() const { return layout_->GetDescriptorCountFromIndex(index_); } in GetDescriptorCount()
281 VkDescriptorType GetType() const { return layout_->GetTypeFromIndex(index_); } in GetType()
282 VkShaderStageFlags GetStageFlags() const { return layout_->GetStageFlagsFromIndex(index_); } in GetStageFlags()
285 return layout_->GetDescriptorBindingFlagsFromIndex(index_); in GetDescriptorBindingFlags()
288 …bool IsVariableDescriptorCount() const { return layout_->IsVariableDescriptorCountFromIndex(index_… in IsVariableDescriptorCount()
290 …VkSampler const *GetImmutableSamplerPtr() const { return layout_->GetImmutableSamplerPtrFromIndex(… in GetImmutableSamplerPtr()
291 …const IndexRange &GetGlobalIndexRange() const { return layout_->GetGlobalIndexRangeFromIndex(index… in GetGlobalIndexRange()
[all …]
/external/deqp-deps/amber/src/
Dformat.cc84 return format_type_ == b->format_type_ && layout_ == b->layout_ && in Equal()
100 if (layout == layout_) in SetLayout()
103 layout_ = layout; in SetLayout()
146 if (layout_ == Layout::kStd140 && (t->IsMatrix() || t->IsArray())) in NeedsPadding()
177 if (layout_ == Layout::kStd140) in CalcArrayBaseAlignmentInBytes()
204 if (layout_ == Layout::kStd140) in CalcMatrixBaseAlignmentInBytes()
228 if (layout_ == Layout::kStd140) in CalcTypeBaseAlignmentInBytes()
306 } else if (layout_ == Layout::kStd140) { in AddSegmentsForType()
Dformat.h94 Layout GetLayout() const { return layout_; } in GetLayout()
237 Layout layout_ = Layout::kStd430; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dtensor_desc.cc141 layout_(desc.layout_), in TensorDescriptor()
152 std::swap(layout_, desc.layout_); in operator =()
167 desc->layout_ = layout_; in CopyWithoutData()
177 if (layout_ == Layout::LINEAR) { in GetStorageDims()
191 } else if (layout_ == Layout::HW) { in GetStorageDims()
232 if (layout_ == Layout::LINEAR) { in GetFullTensorRegion()
234 } else if (layout_ == Layout::HW) { in GetFullTensorRegion()
468 if (layout_ == Layout::LINEAR) { in PerformReadSelector()
476 if (layout_ == Layout::HW) { in PerformReadSelector()
1209 if (layout_ == Layout::HWC) { in GetPhysicalCoords()
[all …]
Dtensor_desc.h49 : data_type_(data_type), storage_type_(storage_type), layout_(layout) {} in TensorDescriptor()
60 layout_ == d.layout_;
267 Layout layout_ = variable
342 if (layout_ == Layout::LINEAR) { in UploadData()
Dserialization_base.cc409 tensor_builder.add_layout(ToFB(desc.layout_)); in Encode()
423 desc->layout_ = ToEnum(fb_desc->layout()); in Decode()
/external/libxkbcommon/tools/
Dhow-to-type.c49 const char *layout_ = NULL; in main() local
102 layout_ = optarg; in main()
160 .layout = layout_, in main()
/external/ruy/ruy/
Dmatrix.h145 const Layout& layout() const { return layout_; } in layout()
146 Layout* mutable_layout() { return &layout_; } in mutable_layout()
156 Layout layout_; variable
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.cpp87 VkImageLayout layout_, in AttachmentReference1() argument
96 layout = layout_; in AttachmentReference1()
102 VkImageLayout layout_, in AttachmentReference2() argument
108 layout = layout_; in AttachmentReference2()
/external/deqp-deps/amber/src/vulkan/
Dtransfer_image.cc311 if (to_layout == layout_ && to_stage == stage_) in ImageBarrier()
316 barrier.oldLayout = layout_; in ImageBarrier()
329 switch (layout_) { in ImageBarrier()
380 layout_ = to_layout; in ImageBarrier()
Dtransfer_image.h85 VkImageLayout layout_ = VK_IMAGE_LAYOUT_UNDEFINED; variable
/external/tensorflow/tensorflow/dtensor/cc/
Ddtensor_device_util.h230 virtual const Layout& layout() const { return layout_; } in layout()
334 layout_(layout), in tensor_()
342 Layout layout_; variable
380 : layout_; in layout()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_array.cc110 layout_(shape.layout()), in Index()
125 layout_(shape.layout()), in Index()
151 layout_(shape.layout()), in Index()
171 layout_(shape.layout()), in Index()
210 *b.mutable_layout() = layout_; in LinearValidOnShape()
Dir_array.h127 layout_.minor_to_major()); in AsShapeWithType()
213 Layout layout_; variable
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.cpp90 VkImageLayout layout_, in AttachmentReference1() argument
98 layout = layout_; in AttachmentReference1()
104 VkImageLayout layout_, in AttachmentReference2() argument
110 layout = layout_; in AttachmentReference2()
/external/rappor/third_party/
Ddygraph-combined.js2layout_=new DygraphLayout(this);var a=this;this.mouseMoveHandler_=function(t){a.mouseMove_(t)},thi…
3layout_.getPlotArea().y,Math.abs(a-s),this.layout_.getPlotArea().h):o==t.VERTICAL&&h.clearRect(thi…
4layout_.points,i=0;i<a.length;++i)t.push({row:e,column:i+1});return t}}(),function(){"use strict";…
5layout_,p=t.dygraph.plotter_.area;if(s.getOptionForAxis("drawGrid","y")){for(var g=["y","y2"],d=[]…
/external/deqp/framework/opengl/
DgluVarType.cpp260 …ng& name_, Storage storage_, Interpolation interpolation_, const Layout& layout_, deUint32 memoryA… in VariableDeclaration() argument
261 : layout (layout_) in VariableDeclaration()
DgluVarType.hpp258 …E_LAST, Interpolation interpolation_ = INTERPOLATION_LAST, const Layout& layout_ = Layout(), deUin…
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h445 : layout_(layout) {}
448 if (!LayoutUtil::Equal(*layout_, *layout)) {
451 << LayoutUtil::HumanString(*layout_);
458 *os << "equal to " << LayoutUtil::HumanString(*layout_);
462 const ::xla::Layout* layout_;
900 : layout_(layout) {}
904 layout_.Match(&shape->layout(), option);
912 if (!layout_.Match(shape->mutable_layout(), option)) {
922 layout_.DescribeTo(os, indent + kIndentInc);
926 LayoutPattern<LayoutType, LayoutImpl> layout_;
Dlayout_assignment.h92 const Layout& layout() const { return layout_; } in layout()
99 Layout layout_;
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.hpp96 InputDataLayoutType layout_, in SSBOData()
103 , layout (layout_) in SSBOData()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp1331 : device_{device}, pool_{}, layout_(device, bindings, layout_flags, layout_pnext), set_{} { in OneOffDescriptorSet()
1343 &layout_.handle()};
1352 bool OneOffDescriptorSet::Initialized() { return pool_ != VK_NULL_HANDLE && layout_.initialized() &… in Initialized()
1573 …pipeline_layout_ = VkPipelineLayoutObj(layer_test_.DeviceObj(), {&descriptor_set_->layout_}, push_… in InitState()
1658 …pipeline_layout_ = VkPipelineLayoutObj(layer_test_.DeviceObj(), {&descriptor_set_->layout_}, push_… in InitState()
1844 pipeline_layout_ = VkPipelineLayoutObj(layer_test_.DeviceObj(), {&descriptor_set_->layout_}); in InitState()
Dvklayertests_descriptor_renderpass_framebuffer.cpp138 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
139 … const VkPipelineLayoutObj pipeline_layout_variable(m_device, {&descriptor_set_variable.layout_}); in TEST_F()
189 const VkPipelineLayoutObj pipeline_layout_buffer(m_device, {&descriptor_set_buffer.layout_}); in TEST_F()
842 const VkPipelineLayoutObj pipeline_layout(m_device, {&ds.layout_}); in TEST_F()
843 const VkPipelineLayoutObj pipeline_layout_variable(m_device, {&ds_variable.layout_}); in TEST_F()
3959 pipe.pipeline_layout_ = VkPipelineLayoutObj(m_device, {&descriptor_set.layout_}); in TEST_F()
4397 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
4514 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
4683 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
4844 const VkPipelineLayoutObj pipeline_layout(m_device, {&descriptor_set.layout_}); in TEST_F()
[all …]

12