Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Data Fields
torch::jit::InterpreterStateImpl Struct Reference
Inheritance diagram for torch::jit::InterpreterStateImpl:

Public Member Functions

 InterpreterStateImpl (const Code &code)
c10::intrusive_ptr< Future > getOrCreateFuture ()
c10::intrusive_ptr< Future > runAsync (Stack &stack)
void run (Stack &stack)
int get (const ListHandle< int > &list, int i)
bool get (const ListHandle< bool > &list, int i)
void loadTensorsFromRegisters (const UseList &uses, Stack &stack)

Data Fields

size_t pc = 0
c10::intrusive_ptr< Future > future
std::shared_ptr< CodeImplfunction
int * int_data
const std::vector< bool > & bool_data
std::vector< IValueregisters
Stack stack

Additional Inherited Members

- Protected Member Functions inherited from c10::intrusive_ptr_target
 intrusive_ptr_target (intrusive_ptr_target &&other) noexcept
intrusive_ptr_targetoperator= (intrusive_ptr_target &&other) noexcept
 intrusive_ptr_target (const intrusive_ptr_target &other) noexcept
intrusive_ptr_targetoperator= (const intrusive_ptr_target &other) noexcept

Detailed Description

Definition at line 687 of file interpreter.cpp.

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