24.04
|
Go to the documentation of this file.
48 if ((kernel_w == 1) && (kernel_h == 1))
53 if ((depth_multiplier > 1) && (depth_multiplier % 4) != 0)
virtual DataLayout data_layout() const =0
Get the data layout of the tensor.
bool export_to_cl_image(const ITensorInfo *tensor)
virtual const TensorShape & tensor_shape() const =0
Size for each dimension of the tensor.
bool use_cl_image_for_weights(const ITensorInfo *weights, unsigned int depth_multiplier)
Utility function to know whether we can use the cl image storage for the weights of depthwise convolu...
size_t get_data_layout_dimension_index(const DataLayout &data_layout, const DataLayoutDimension &data_layout_dimension)
Get the index of the given dimension.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.