TVM  0.9.4
tvm::graph::internal::Inputs::Iterator Struct Reference

#include <tvm/graph/internal/Inputs.h>

Inheritance diagram for tvm::graph::internal::Inputs::Iterator:
Collaboration diagram for tvm::graph::internal::Inputs::Iterator:

Public Member Functions

 Iterator (inputs_t::iterator it, inputs_t::iterator end)
 
 operator bool ()
 

Detailed Description

A simple extension to inputs_t iterator that also stores the end iterator, allowing to cast the iterator to a boolean value.

Constructor & Destructor Documentation

◆ Iterator()

tvm::graph::internal::Inputs::Iterator::Iterator ( inputs_t::iterator  it,
inputs_t::iterator  end 
)

Construct from an existing iterator and the end iterator

Member Function Documentation

◆ operator bool()

tvm::graph::internal::Inputs::Iterator::operator bool ( )

True if the iterator is valid


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