Function (autodiff)
function
¤
This is where the forwards and backwards passes live.
Classes:
-
Contiguous
– -
ContiguousBackward
– -
Cast
– -
Reciprocal
– -
Sin
– -
Relu
– -
Log
– -
Exp
– -
Sqrt
– -
Sign
– -
Less
– -
Xor
– -
Add
– -
Mul
– -
Where
– -
Sum
– -
Max
– -
Expand
– -
Reshape
– -
Permute
– -
Pad
– -
Shrink
– -
Flip
–
Contiguous
¤
Contiguous(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
ContiguousBackward
¤
ContiguousBackward(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
Cast
¤
Bases: Function
Reciprocal
¤
Reciprocal(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
Sin
¤
Bases: Function
Relu
¤
Bases: Function
Log
¤
Bases: Function
Exp
¤
Bases: Function
Sqrt
¤
Bases: Function
Sign
¤
Bases: Function
Less
¤
Bases: Function
Xor
¤
Bases: Function
Add
¤
Bases: Function
Mul
¤
Bases: Function
Where
¤
Bases: Function
Sum
¤
Bases: Function
Max
¤
Bases: Function
Expand
¤
Expand(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
Reshape
¤
Reshape(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
Permute
¤
Permute(
device: Union[str, tuple[str, ...]],
*tensors: Tensor,
metadata: Optional[Metadata] = None
)
Bases: Function
Pad
¤
Bases: Function