Tensor: remove unused and unimplemented SetPreferredStorageType methods.

PiperOrigin-RevId: 502893019
This commit is contained in:
Nikolay Chirkov
2023-01-18 09:09:20 -08:00
committed by Copybara-Service
parent 29484702ce
commit 5687d19dec
-7
View File
@@ -370,13 +370,6 @@ class Tensor {
bool ready_as_opengl_texture_2d() const {
return valid_ & kValidOpenGlTexture2d;
}
// Sets the type of underlying resource that is going to be allocated.
enum class StorageType {
kDefault,
kAhwb,
};
static void SetPreferredStorageType(StorageType type);
static StorageType GetPreferredStorageType();
private:
void Move(Tensor*);