torch.NanReductionOptions
export interface NanReductionOptions {
/** Dimension(s) along which to reduce. */
dim?: number | number[];
/** If true, keeps the reduced dimension with size 1. */
keepdim?: boolean;
}dim(number | number[])optional- – Dimension(s) along which to reduce.
keepdim(boolean)optional- – If true, keeps the reduced dimension with size 1.
Options for nansum and nanmean.