mygrad.sinc#
- mygrad.sinc(a: ArrayLike, *, constant: bool | None = None) Tensor[source]#
f(a) -> sin(a) / a- Parameters:
- aArrayLike
- constantOptional[bool]
If
True, this tensor is treated as a constant, and thus does not facilitate back propagation (i.e.constant.gradwill always returnNone).Defaults to
Falsefor float-type data. Defaults toTruefor integer-type data.Integer-type tensors must be constant.
- Returns:
- mygrad.Tensor