Struct NetworkOptions

Latest Release
struct NetworkOptions

Parameters for Engine creation.

Public Members

bool use_fp16 = true

Use FP16 in engine generation.

std::vector<int32_t> batch_sizes = {1}

Batch sizes supported.

int32_t max_batch_size = 1

Max batch size allowed.

size_t max_memory = 10000000000

Maximum GPU memory allocated for model conversion.

int device_index = 0

GPU device.

© Copyright 2022-2023, NVIDIA. Last updated on Sep 13, 2023.