Struct mediapipe::Tensor::Shape
ClassList > mediapipe > Tensor > Shape
Public Attributes
Type | Name |
---|---|
std::vector< int > | dims |
bool | is_dynamic = false |
Public Functions
Type | Name |
---|---|
Shape () = default |
|
Shape (std::initializer_list< int > dimensions) |
|
Shape (const std::vector< int > & dimensions) |
|
Shape (std::initializer_list< int > dimensions, bool is_dynamic) |
|
Shape (const std::vector< int > & dimensions, bool is_dynamic) |
|
int | num_elements () const |
Public Attributes Documentation
variable dims
std::vector<int> mediapipe::Tensor::Shape::dims;
variable is_dynamic
bool mediapipe::Tensor::Shape::is_dynamic;
Public Functions Documentation
function Shape [1/5]
mediapipe::Tensor::Shape::Shape () = default
function Shape [2/5]
inline mediapipe::Tensor::Shape::Shape (
std::initializer_list< int > dimensions
)
function Shape [3/5]
inline mediapipe::Tensor::Shape::Shape (
const std::vector< int > & dimensions
)
function Shape [4/5]
inline mediapipe::Tensor::Shape::Shape (
std::initializer_list< int > dimensions,
bool is_dynamic
)
function Shape [5/5]
inline mediapipe::Tensor::Shape::Shape (
const std::vector< int > & dimensions,
bool is_dynamic
)
function num_elements
inline int mediapipe::Tensor::Shape::num_elements () const
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/formats/tensor.h