torch.nn.functional.FractionalMaxPoolFunctionalOptions
export interface FractionalMaxPoolFunctionalOptions {
/** The targeted output size */
output_size?: number | number[];
/** The ratio of input size to output size */
output_ratio?: number | number[];
/** If true, returns the indices along with the outputs (default: false) */
return_indices?: boolean;
/** Random samples for deterministic fractional pooling. Shape: (N, C, 2) for 2D, (N, C, 3) for 3D */
_random_samples?: Tensor;
}output_size(number | number[])optional- – The targeted output size
output_ratio(number | number[])optional- – The ratio of input size to output size
return_indices(boolean)optional- – If true, returns the indices along with the outputs (default: false)
_random_samples(Tensor)optional- – Random samples for deterministic fractional pooling. Shape: (N, C, 2) for 2D, (N, C, 3) for 3D
Options for fractional_max_pool*d functional operations.