#include "llvm/Analysis/TensorSpec.h"
Definition at line 52 of file TensorSpec.h.
◆ createSpec()
template<typename T >
static TensorSpec llvm::TensorSpec::createSpec |
( |
const std::string & |
Name, |
|
|
const std::vector< int64_t > & |
Shape, |
|
|
int |
Port = 0 |
|
) |
| |
|
inlinestatic |
◆ getElementByteSize()
size_t llvm::TensorSpec::getElementByteSize |
( |
| ) |
const |
|
inline |
Get the size, in bytes, of one element.
Definition at line 76 of file TensorSpec.h.
◆ getElementCount()
size_t llvm::TensorSpec::getElementCount |
( |
| ) |
const |
|
inline |
Get the number of elements in a tensor with this shape.
Definition at line 74 of file TensorSpec.h.
◆ getTotalTensorBufferSize()
size_t llvm::TensorSpec::getTotalTensorBufferSize |
( |
| ) |
const |
|
inline |
◆ isElementType()
template<typename T >
bool llvm::TensorSpec::isElementType |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& llvm::TensorSpec::name |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator==()
◆ port()
int llvm::TensorSpec::port |
( |
| ) |
const |
|
inline |
◆ shape()
const std::vector<int64_t>& llvm::TensorSpec::shape |
( |
| ) |
const |
|
inline |
◆ type()
The documentation for this class was generated from the following files: