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

An utility class for setting temporary scopes. More...

#include <ir.h>

Public Member Functions

 WithCurrentScope (Graph &g, ScopePtr scope)
 

Detailed Description

An utility class for setting temporary scopes.

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

Definition at line 1193 of file ir.h.


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