torch.nn.BufferOptions
export interface BufferOptions {
dtype?: DType;
requires_grad?: boolean;
persistent?: boolean;
device?: 'cpu' | 'webgpu';
}dtype(DType)optionalrequires_grad(boolean)optionalpersistent(boolean)optionaldevice('cpu' | 'webgpu')optional