EyeAI
Loading...
Searching...
No Matches
TensorType Class Reference

either a input or a output tensor More...

#include <TfLiteUtils.hpp>

Public Types

enum  Type : uint8_t { Input , Output }
 

Public Member Functions

 TensorType ()=delete
 
 TensorType (Type type)
 
std::string_view to_string () const
 
bool operator== (const TensorType &other) const =default
 

Public Attributes

enum TensorType::Type type
 

Detailed Description

either a input or a output tensor

Member Enumeration Documentation

◆ Type

enum TensorType::Type : uint8_t
Enumerator
Input 
Output 

Constructor & Destructor Documentation

◆ TensorType() [1/2]

TensorType::TensorType ( )
delete

◆ TensorType() [2/2]

TensorType::TensorType ( Type type)
inline

Member Function Documentation

◆ operator==()

bool TensorType::operator== ( const TensorType & other) const
default

◆ to_string()

std::string_view TensorType::to_string ( ) const
nodiscard

Member Data Documentation

◆ type

enum TensorType::Type TensorType::type