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

Owns an operand's element type and shape descriptor. More...

#include <rustnn.hpp>

Public Member Functions

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

Detailed Description

Owns an operand's element type and shape descriptor.

Definition at line 115 of file rustnn.hpp.

Constructor & Destructor Documentation

◆ MLOperandDescriptor() [1/3]

rustnn::MLOperandDescriptor::MLOperandDescriptor ( MLOperandDataType data_type,
const std::vector< std::uint64_t > & shape )
inline

Definition at line 117 of file rustnn.hpp.

◆ ~MLOperandDescriptor()

rustnn::MLOperandDescriptor::~MLOperandDescriptor ( )
inline

Definition at line 122 of file rustnn.hpp.

◆ MLOperandDescriptor() [2/3]

rustnn::MLOperandDescriptor::MLOperandDescriptor ( const MLOperandDescriptor & )
delete

◆ MLOperandDescriptor() [3/3]

rustnn::MLOperandDescriptor::MLOperandDescriptor ( MLOperandDescriptor && other)
inlinenoexcept

Definition at line 126 of file rustnn.hpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 129 of file rustnn.hpp.


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