How can I get weights in a tensor ? like output tensor
IBuilder* builder = createInferBuilder(gLogger);
INetworkDefinition* network = builder->createNetwork();
#if 1
if (!parser->parse(uffFile, *network, nvinfer1::DataType::kFLOAT))
RETURN_AND_LOG(nullptr, ERROR, "Fail to parse");
#else
if (!parser->parse(uffFile, *network, nvinfer1::DataType::kHALF))
RETURN_AND_LOG(nullptr, ERROR, "Fail to parse");
builder->setFp16Mode(true);
#endif
// print some information
auto output_tensor = network->getOutput(0);
std::cout << "Tensor name " << output_tensor->getName() << std::endl;
<b> //Actually , I wonna get ouput weights here , is that possible?</b>