error: expected primary-expression before ‘xx’ token
下面代码auto suppressed = suppressed_t.data_ptr<uint8_t>();
auto order = order_t.data_ptr<int64_t>();
auto x1 = x1_t.data_ptr<scalar_t>();
auto y1 = y1_t.data_ptr<scalar_t>();
auto x2 = x2_t.data_ptr<scalar_t>();
auto y2 = y2_t.data_ptr'<'scalar_t>();
auto areas = areas_t.data_ptr<scalar_t>();
每一行均报如下错误:
expected primary-expression before ‘>’ token
error: expected primary-expression before ‘)’ token
请问各位大侠如何解决,谢谢