Fix convert_nodes.cc to support TRT7.
PiperOrigin-RevId: 295986213 Change-Id: I6221fca9278c02c2bb657b844980d2b2aef21a44
This commit is contained in:
parent
0085ae0f60
commit
df36e873c5
@ -660,6 +660,9 @@ size_t TRT_ShapedWeights::size_bytes() const {
|
||||
data_type_size = 2;
|
||||
break;
|
||||
case nvinfer1::DataType::kINT8:
|
||||
#if IS_TRT_VERSION_GE(7, 0, 0, 0)
|
||||
case nvinfer1::DataType::kBOOL:
|
||||
#endif
|
||||
data_type_size = 1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user