TensorRT7.2版本,构建网络API整理

参考字,官方API

nvinfer1::INetworkDefinition 用于构建网络结构时,支持的API操作(version 7.2.1.6)

实例化对象 network

操作名接口废弃说明
network -> addInput
network -> addConvolutionSuperseded by addConvolutionNd and will be removed in TensorRT 9.0.
network -> addFullyConnected
network -> addActivation
network -> addPoolingSuperseded by addPoolingNd and will be removed in TensorRT 9.0.
network -> addLRN
network -> addScale
network -> addSoftMax
network -> addConcatenation
network -> addDeconvolutionSuperseded by addDeconvolutionNd and will be removed in TensorRT 9.0.
network -> addElementWise
network -> addRNNSuperseded by addRNNv2 and will be removed in TensorRT 8.0.
network -> addPluginSuperseded by addPluginV2 and will be removed in TensorRT 8.0.
network -> addUnary
network -> addPaddingSuperseded by addPaddingNd and will be removed in TensorRT 9.0.
network -> addShuffle
network ->addReduce
network -> addTopK
network -> addGather
network -> addRaggedSoftMax
network -> addMatrixMultiplyThis interface is superseded by the overload that replaces bool with MatrixOperation and will be removed in TensorRT 8.0.
network -> addMatrixMultiply
network -> addConstant
network -> addRNNv2Superseded by ILoop::addLoop and will be removed in TensorRT 9.0.
network ->addPluginExtSuperseded by addPluginV2 and will be removed in TensorRT 8.0.
network -> addIdentity
network ->addPluginV2
network ->addSlice
network -> addShape
network ->addParametricReLU
network ->addConvolutionNd
network -> addPoolingNd
network -> addDeconvolutionNd
network ->addScaleNd
network -> addResize
network ->addLoop
network -> addSelect
network -> addFill
network ->addPaddingNd

\

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值