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

Owns a backend tensor. Its originating context must outlive it. More...

#include <rustnn.hpp>

Public Member Functions

 ~MLTensor ()
 
 MLTensor (const MLTensor &)=delete
 
MLTensor & operator= (const MLTensor &)=delete
 
 MLTensor (MLTensor &&other) noexcept
 
MLTensor & operator= (MLTensor &&other) noexcept
 

Detailed Description

Owns a backend tensor. Its originating context must outlive it.

Definition at line 218 of file rustnn.hpp.

Constructor & Destructor Documentation

◆ ~MLTensor()

rustnn::MLTensor::~MLTensor ( )
inline

Definition at line 220 of file rustnn.hpp.

◆ MLTensor() [1/2]

rustnn::MLTensor::MLTensor ( const MLTensor &  )
delete

◆ MLTensor() [2/2]

rustnn::MLTensor::MLTensor ( MLTensor &&  other)
inlinenoexcept

Definition at line 224 of file rustnn.hpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 226 of file rustnn.hpp.


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