Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::jit::WithInsertPoint Struct Reference

An utility class for setting temporary insertion points. More...

#include <ir.h>

Public Member Functions

 WithInsertPoint (Node *n)
 
 WithInsertPoint (Block *b)
 

Detailed Description

An utility class for setting temporary insertion points.

When an object of this class is created, it stores the current insertion point, sets the new one, and restores the original insertion point when the object is destroyed.

Definition at line 1174 of file ir.h.


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