torch.CombinationsOptions
export interface CombinationsOptions {
/** Size of each combination (default: 2) */
r?: number;
/** Whether to allow same element to be repeated (default: false) */
with_replacement?: boolean;
}r(number)optional- – Size of each combination (default: 2)
with_replacement(boolean)optional- – Whether to allow same element to be repeated (default: false)
Options for combinations