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

Public Member Functions

 Value (Node *node_, size_t offset_)
ValuesetType (TypePtr type)
void inferTypeFrom (const at::Tensor &output)
const TypePtr & type () const
bool requires_grad () const
bool isTensor () const
TORCH_API bool mustBeNone () const
size_t unique () const
bool hasUniqueName () const
TORCH_API ValuesetUniqueName (const std::string &name)
std::string uniqueName () const
TORCH_API std::string uniqueNameBase () const
Nodenode ()
size_t offset () const
void setOffset (size_t offset)
const Nodenode () const
GraphowningGraph ()
const GraphowningGraph () const
const use_list & uses () const
bool hasUses () const
TORCH_API void replaceFirstUseWith (Value *newValue)
TORCH_API void replaceAllUsesWith (Value *newValue)
TORCH_API ValuecopyMetadata (Value *from)

Static Public Member Functions

static bool isValidName (const std::string &name)


struct Node
struct Graph

Detailed Description

Definition at line 144 of file ir.h.

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