Sets the memory size of a tensor.
void SetSize(const size_t size)
None
StorageShape sh({1, 2, 3}, {1, 2, 3}); Tensor t = {sh, {}, {}, ge::DT_FLOAT, nullptr}; t.SetSize(0U);