#include <onnxruntime_lite_custom_op.h>
Ort::Custom::TensorBase::TensorBase |
( |
OrtKernelContext * |
ctx, |
|
|
size_t |
indice, |
|
|
bool |
is_input |
|
) |
| |
|
inline |
virtual const void* Ort::Custom::TensorBase::DataRaw |
( |
| ) |
const |
|
pure virtual |
bool Ort::Custom::TensorBase::IsCpuTensor |
( |
| ) |
const |
|
inline |
int64_t Ort::Custom::TensorBase::NumberOfElement |
( |
| ) |
const |
|
inline |
Ort::Custom::TensorBase::operator bool |
( |
| ) |
const |
|
inline |
const std::vector<int64_t>& Ort::Custom::TensorBase::Shape |
( |
| ) |
const |
|
inline |
std::string Ort::Custom::TensorBase::Shape2Str |
( |
| ) |
const |
|
inline |
virtual size_t Ort::Custom::TensorBase::SizeInBytes |
( |
| ) |
const |
|
pure virtual |
ONNXTensorElementDataType Ort::Custom::TensorBase::Type |
( |
| ) |
const |
|
inline |
const char* Ort::Custom::TensorBase::mem_type_ = "Cpu" |
|
protected |
std::optional<std::vector<int64_t> > Ort::Custom::TensorBase::shape_ |
|
protected |
ONNXTensorElementDataType Ort::Custom::TensorBase::type_ = ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED |
|
protected |
The documentation for this class was generated from the following file: