Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class HasGrad a b | a -> b Source #
grad, toDependent
Instances
(HasGrad a b, HasGrad (HList as) (HList bs), Castable (HList (b ': bs)) [ATenTensor]) => HasGrad (HList (a ': as)) (HList (b ': bs)) Source # | |
Defined in Torch.Typed.Autograd | |
HasGrad (HList ('[] :: [Type])) (HList ('[] :: [Type])) Source # | |
Defined in Torch.Typed.Autograd | |
HasGrad (Parameter device dtype shape) (Tensor device dtype shape) Source # | |
Defined in Torch.Typed.Autograd |