Home
last modified time | relevance | path

Searched refs:array_info (Results 1 – 5 of 5) sorted by relevance

/external/python/pybind11/include/pybind11/
Dnumpy.h296 template <typename T> struct array_info : array_info_scalar<T> { };
297 template <typename T, size_t N> struct array_info<std::array<T, N>> {
298 using type = typename array_info<T>::type;
300 static constexpr bool is_empty = (N == 0) || array_info<T>::is_empty;
306 array_info<T>::append_extents(shape);
309 static constexpr auto extents = _<array_info<T>::is_array>(
310 concat(_<N>(), array_info<T>::extents), _<N>()
315 template <size_t N> struct array_info<char[N]> : array_info_scalar<char[N]> { };
316 template <size_t N> struct array_info<std::array<char, N>> : array_info_scalar<std::array<char, N>>…
317 template <typename T, size_t N> struct array_info<T[N]> : array_info<std::array<T, N>> { };
[all …]
/external/OpenCL-CTS/test_conformance/buffers/
DCMakeLists.txt9 array_info.cpp
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp1312 llvm::Optional<SymbolFile::ArrayInfo> array_info = ParseChildArrayInfo(die); in ParseArrayType() local
1313 if (array_info) { in ParseArrayType()
1314 attrs.byte_stride = array_info->byte_stride; in ParseArrayType()
1315 attrs.bit_stride = array_info->bit_stride; in ParseArrayType()
1325 if (array_info && array_info->element_orders.size() > 0) { in ParseArrayType()
1327 auto end = array_info->element_orders.rend(); in ParseArrayType()
1328 for (auto pos = array_info->element_orders.rbegin(); pos != end; ++pos) { in ParseArrayType()
3045 SymbolFile::ArrayInfo array_info; in ParseChildArrayInfo() local
3091 array_info.bit_stride = form_value.Unsigned(); in ParseChildArrayInfo()
3095 array_info.byte_stride = form_value.Unsigned(); in ParseChildArrayInfo()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc738 const ArrayInfo& array_info = output_tensor.second->second; in AddNodesToShapeRefiner() local
740 DataType dtype = array_info.imported_dtype; in AddNodesToShapeRefiner()
748 CreatePlaceholderNodeForFeed(array_info.shape, dtype, node, index, in AddNodesToShapeRefiner()
1302 auto& array_info = specs.inputs[input_arg.name()]; in ConvertLibFunction() local
1303 array_info.imported_dtype = input_arg.type(); in ConvertLibFunction()
1304 array_info.shape = list.shape(i); in ConvertLibFunction()
1365 const ArrayInfo& array_info = output_tensor.second->second; in ConvertFeedsToPlaceholders() local
1367 DataType dtype = array_info.imported_dtype; in ConvertFeedsToPlaceholders()
1375 CreatePlaceholderNodeForFeed(array_info.shape, dtype, node, index, in ConvertFeedsToPlaceholders()
3701 ArrayInfo array_info; in ParseInputArrays() local
[all …]
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp5275 if (auto array_info = in GetNumChildren() local
5278 num_children = array_info->element_orders.size() in GetNumChildren()
5279 ? array_info->element_orders.back() in GetNumChildren()