rustnn C and C++ API
WebNN graph construction and execution
Loading...
Searching...
No Matches
rustnn::MLTensorDescriptor Class Reference

Owns a tensor descriptor with host read and write permissions. More...

#include <rustnn.hpp>

Public Member Functions

 MLTensorDescriptor (MLOperandDataType data_type, const std::vector< std::uint64_t > &shape, bool readable, bool writable)
 ~MLTensorDescriptor ()
 MLTensorDescriptor (const MLTensorDescriptor &)=delete
MLTensorDescriptor & operator= (const MLTensorDescriptor &)=delete
 MLTensorDescriptor (MLTensorDescriptor &&other) noexcept
MLTensorDescriptor & operator= (MLTensorDescriptor &&other) noexcept

Detailed Description

Owns a tensor descriptor with host read and write permissions.

Definition at line 143 of file rustnn.hpp.

Constructor & Destructor Documentation

◆ MLTensorDescriptor() [1/3]

rustnn::MLTensorDescriptor::MLTensorDescriptor ( MLOperandDataType data_type,
const std::vector< std::uint64_t > & shape,
bool readable,
bool writable )
inline

Definition at line 145 of file rustnn.hpp.

◆ ~MLTensorDescriptor()

rustnn::MLTensorDescriptor::~MLTensorDescriptor ( )
inline

Definition at line 152 of file rustnn.hpp.

◆ MLTensorDescriptor() [2/3]

rustnn::MLTensorDescriptor::MLTensorDescriptor ( const MLTensorDescriptor & )
delete

◆ MLTensorDescriptor() [3/3]

rustnn::MLTensorDescriptor::MLTensorDescriptor ( MLTensorDescriptor && other)
inlinenoexcept

Definition at line 156 of file rustnn.hpp.

Member Function Documentation

◆ operator=() [1/2]

MLTensorDescriptor & rustnn::MLTensorDescriptor::operator= ( const MLTensorDescriptor & )
delete

◆ operator=() [2/2]

MLTensorDescriptor & rustnn::MLTensorDescriptor::operator= ( MLTensorDescriptor && other)
inlinenoexcept

Definition at line 159 of file rustnn.hpp.


The documentation for this class was generated from the following file: