message: fix: revert changes in castITensor
diff: @@ -129,9 +129,7 @@ nvinfer1::ITensor* applyIdentityOp(ConversionCtx* ctx, nvinfer1::ITensor* tensor
  }
  nvinfer1::ITensor* castITensor(ConversionCtx* ctx, nvinfer1::ITensor* tensor, nvinfer1::DataType dtype) {
  - // No matter whether tensor->getType() == dtype, identity layer is always needed.
  - // Otherwise will change the input tensor name in aten::to converter by AssociateValueAndTensor function
  - // When the input of aten::to is network input, will cause error
  + if (tensor->getType() != dtype) {
  std::ostringstream tensor_id;
  tensor_id << reinterpret_cast<int*>(tensor);
  @@ -146,7 +144,9 @@ nvinfer1::ITensor* castITensor(ConversionCtx* ctx, nvinfer1::ITensor* tensor, nv
  ss << "[Cast ITensor " << tensor_id.str() << " from " << tensor->getType() << " to " << dtype << "]";
  id_layer->setName(ss.str().c_str());
  return casted_tensor;
  -
  + } else {
  + return tensor;
  + }
  }
  nvinfer1::ITensor* tensor_to_const(ConversionCtx* ctx, at::Tensor t, const std::string& name) {
  