Lines Matching defs:Variable
28 class Variable: class
43 def __mul__(self, rhs: "Variable") -> "Variable":
47 def __add__(self, rhs: "Variable") -> "Variable":
75 def grad(L, desired_results: List[Variable]) -> List[Variable]:
116 def operator_mul(self: Variable, rhs: Variable) -> Variable:
130 def propagate(dL_doutputs: List[Variable]):
147 def operator_add(self: Variable, rhs: Variable) -> Variable:
153 def propagate(dL_doutputs: List[Variable]):
167 def operator_sum(self: Variable, name: Optional[str]) -> "Variable":
171 def propagate(dL_doutputs: List[Variable]):
182 def operator_expand(self: Variable, sizes: List[int]) -> "Variable":
187 def propagate(dL_doutputs: List[Variable]):