MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
compilerinterface.log_reader.TensorValue Class Reference

Public Member Functions

 __init__ (self, TensorSpec spec, bytes buffer)
 
TensorSpec spec (self)
 
int __len__ (self)
 
 __getitem__ (self, index)
 

Protected Attributes

 _spec
 
 _buffer
 
 _view
 
 _len
 

Detailed Description

Definition at line 60 of file log_reader.py.

Constructor & Destructor Documentation

◆ __init__()

compilerinterface.log_reader.TensorValue.__init__ ( self,
TensorSpec spec,
bytes buffer )

Definition at line 61 of file log_reader.py.

Member Function Documentation

◆ __getitem__()

compilerinterface.log_reader.TensorValue.__getitem__ ( self,
index )

Definition at line 76 of file log_reader.py.

◆ __len__()

int compilerinterface.log_reader.TensorValue.__len__ ( self)

Definition at line 73 of file log_reader.py.

◆ spec()

TensorSpec compilerinterface.log_reader.TensorValue.spec ( self)

Definition at line 70 of file log_reader.py.

Member Data Documentation

◆ _buffer

compilerinterface.log_reader.TensorValue._buffer
protected

Definition at line 63 of file log_reader.py.

◆ _len

compilerinterface.log_reader.TensorValue._len
protected

Definition at line 66 of file log_reader.py.

◆ _spec

compilerinterface.log_reader.TensorValue._spec
protected

Definition at line 62 of file log_reader.py.

◆ _view

compilerinterface.log_reader.TensorValue._view
protected

Definition at line 64 of file log_reader.py.


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