Public Member Functions | |
SymbolicVariable (Value *v) | |
operator Value * () const | |
const std::vector< int64_t > & | sizes () const |
void | addAsOutput () const |
SymbolicVariable | operator* (const SymbolicVariable rhs) const |
SymbolicVariable | operator/ (const SymbolicVariable rhs) const |
SymbolicVariable | operator* (at::Scalar rhs) const |
SymbolicVariable | operator> (at::Scalar rhs) const |
SymbolicVariable | operator> (const SymbolicVariable rhs) const |
SymbolicVariable | operator< (at::Scalar rhs) const |
SymbolicVariable | operator< (const SymbolicVariable rhs) const |
SymbolicVariable | operator>= (at::Scalar rhs) const |
SymbolicVariable | operator>= (const SymbolicVariable rhs) const |
SymbolicVariable | operator<= (at::Scalar rhs) const |
SymbolicVariable | operator<= (const SymbolicVariable rhs) const |
SymbolicVariable | operator== (at::Scalar rhs) const |
SymbolicVariable | operator!= (at::Scalar rhs) const |
SymbolicVariable | operator+ (const SymbolicVariable rhs) const |
SymbolicVariable | operator+ (at::Scalar rhs) const |
SymbolicVariable | operator- () const |
SymbolicVariable | operator- (const SymbolicVariable rhs) const |
SymbolicVariable | operator/ (at::Scalar rhs) const |
SymbolicVariable | operator% (at::Scalar rhs) const |
Value * | size () const |
SymbolicVariable | gradSumToSize (Value *size) const |
SymbolicVariable | expand (Value *size) const |
SymbolicVariable | isnan () const |
SymbolicVariable | mm (const SymbolicVariable rhs) const |
SymbolicVariable | t () const |
SymbolicVariable | sigmoid () const |
SymbolicVariable | tanh () const |
std::vector< SymbolicVariable > | chunk (int64_t chunks, int dim) const |
SymbolicVariable | type_as (const SymbolicVariable rhs) const |
SymbolicVariable | narrow (int dim, int64_t start, int64_t length) const |
SymbolicVariable | cos () const |
SymbolicVariable | cosh () const |
SymbolicVariable | exp () const |
SymbolicVariable | pow (at::Scalar other) const |
SymbolicVariable | rsqrt () const |
SymbolicVariable | sign () const |
SymbolicVariable | sin () const |
SymbolicVariable | sinh () const |
SymbolicVariable | sum () const |
SymbolicVariable | sum (int dim, bool keepdim) const |
SymbolicVariable | squeeze (Value *dim) const |
SymbolicVariable | squeeze (int dim) const |
SymbolicVariable | unsqueeze (Value *dim) const |
SymbolicVariable | unsqueeze (int dim) const |
SymbolicVariable | view (Value *sizes) const |
SymbolicVariable | view (std::vector< std::int64_t > sizes) const |
SymbolicVariable | reshape (Value *sizes) const |
SymbolicVariable | reshape (std::vector< std::int64_t > sizes) const |
SymbolicVariable | addmm (SymbolicVariable mat1, SymbolicVariable mat2) const |
Value * | value () const |
Static Public Member Functions | |
static SymbolicVariable | asNewInput (Graph &g, std::string name="") |
static SymbolicVariable | asNewInput (Graph &g, TypePtr type) |
static std::vector< SymbolicVariable > | create (Symbol kind, ArrayRef< SymbolicVariable > inputs, int num_outputs=1, Node **created_node=nullptr, Graph *g=nullptr) |
static bool | isConstInt (at::Scalar s, int32_t i) |
static SymbolicVariable | cat (ArrayRef< SymbolicVariable > inputs, Value *dim) |
static SymbolicVariable | cat (ArrayRef< SymbolicVariable > inputs, int dim) |
static SymbolicVariable | stack (ArrayRef< SymbolicVariable > inputs, Value *dim) |
static SymbolicVariable | stack (ArrayRef< SymbolicVariable > inputs, int dim) |
static std::vector< SymbolicVariable > | broadcast_tensors (ArrayRef< SymbolicVariable > inputs) |
static SymbolicVariable | zeros_like (const SymbolicVariable input) |
Definition at line 9 of file symbolic_variable.h.