NanSumΒΆ
Returns the sum of all elements, treating NaNs as zero.
Abstract Signature:
NanSum(input: Tensor, dim: int, keepdim: bool = False)
Keras
API:
βStrategy: Custom / Partial
Apple MLX
API:
βStrategy: Custom / Partial
Returns the sum of all elements, treating NaNs as zero.
Abstract Signature:
NanSum(input: Tensor, dim: int, keepdim: bool = False)
ββ