Closed LPanosTT closed 2 months ago
The original method of retrieving the bias:
llvm::dyn_cast_or_null<::mlir::RankedTensorType>(getBias().getType());
resulted in a segmentation fault because getBias() itself would return an incomplete object. Thus, getBias().getType() would attempt to dereference a nullptr at some point.
getBias()
getBias().getType()
nullptr
The original method of retrieving the bias:
resulted in a segmentation fault because
getBias()
itself would return an incomplete object. Thus,getBias().getType()
would attempt to dereference anullptr
at some point.