tflite:: TfLiteIntArrayView

#include <context_util.h>

Provides a range iterable wrapper for TfLiteIntArray* (C lists) that TfLite C api uses.

Summary

Constructors and Destructors

TfLiteIntArrayView (const TfLiteIntArray *int_array)
Construct a view of a TfLiteIntArray*.

Public types

typedef
const int *

Public functions

begin () const
const_iterator
end () const
const_iterator
operator[] (size_t pos) const
int
size () const
size_t

Public types

const_iterator

 const 
  
 int 
  
 * 
  
 const_iterator 

Public functions

TfLiteIntArrayView

  
 TfLiteIntArrayView 
 ( 
  
 const 
  
 TfLiteIntArray 
  
 * 
 int_array 
 ) 

Construct a view of a TfLiteIntArray*.

Note, int_array should be non-null and this view does not take ownership of it.

TfLiteIntArrayView

  
 TfLiteIntArrayView 
 ( 
  
 const 
  
  TfLiteIntArrayView 
 
  
& ) 
 = 
 default 

begin

 const_iterator 
  
 begin 
 () 
  
 const 
  

end

 const_iterator 
  
 end 
 () 
  
 const 
  

operator=

  TfLiteIntArrayView 
 
 & 
 operator 
 = 
 ( 
  
 const 
  
  TfLiteIntArrayView 
 
 & 
 rhs 
 ) 
 = 
 default 

operator[]

 int 
  
 operator 
 []( 
  
 size_t 
  
 pos 
 ) 
  
 const 
  

size

 size_t 
  
 size 
 () 
  
 const 
  
Design a Mobile Site
View Site in Mobile | Classic
Share by: