| 35 | namespace arm_compute |
| 36 | { |
| 37 | TensorInfo::TensorInfo() |
| 38 | : _total_size(0), |
| 39 | _offset_first_element_in_bytes(0), |
| 40 | _strides_in_bytes(), |
| 41 | _num_channels(0), |
| 42 | _tensor_shape(), |
| 43 | _dims_state(), |
| 44 | _data_type(DataType::UNKNOWN), |
| 45 | _format(Format::UNKNOWN), |
| 46 | _is_resizable{true}, |
| 47 | _valid_region{Coordinates(), _tensor_shape}, |
| 48 | _padding{0}, |
| 49 | _quantization_info(), |
| 50 | _data_layout(DataLayout::NCHW), |
| 51 | _are_values_constant(true), |
| 52 | _id(invalid_tensor_id), |
| 53 | _lock_paddings(false) |
| 54 | { |
| 55 | _dims_state.fill(ITensorInfo::get_static_state_value()); |
| 56 | } |
| 57 | |
| 58 | TensorInfo::TensorInfo(const ITensorInfo &info) : TensorInfo() |
| 59 | { |
nothing calls this directly
no test coverage detected