TensorRequirements Struct Reference

TensorRequirements Struct Reference#

1 min read time

Applies to Linux

rocCV: roccv::TensorRequirements Struct Reference
roccv::TensorRequirements Struct Reference

#include <tensor_requirements.hpp>

Public Attributes

eDeviceType device
 
DataType dtype
 
TensorShape shape
 
std::array< int64_t, ROCCV_TENSOR_MAX_RANKstrides
 

Member Data Documentation

◆ device

eDeviceType roccv::TensorRequirements::device

◆ dtype

DataType roccv::TensorRequirements::dtype

◆ shape

TensorShape roccv::TensorRequirements::shape

◆ strides

std::array<int64_t, ROCCV_TENSOR_MAX_RANK> roccv::TensorRequirements::strides

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/core/tensor_requirements.hpp