Class TensorObject
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.cp.Data
-
- org.apache.sysds.runtime.controlprogram.caching.CacheableData<TensorBlock>
-
- org.apache.sysds.runtime.controlprogram.caching.TensorObject
-
- All Implemented Interfaces:
Serializable
public class TensorObject extends CacheableData<TensorBlock>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
CacheableData.CacheStatus
-
-
Field Summary
-
Fields inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
cacheEvictionLocalFilePath, cacheEvictionLocalFilePrefix, CACHING_ASYNC_FILECLEANUP, CACHING_ASYNC_SERIALIZE, CACHING_BUFFER_PAGECACHE, CACHING_BUFFER_POLICY, CACHING_COUNTER_GROUP_NAME, CACHING_EVICTION_FILEEXTENSION, CACHING_THRESHOLD, CACHING_WRITE_CACHE_ON_READ
-
-
Constructor Summary
Constructors Constructor Description TensorObject(String fname)
TensorObject(String fname, MetaData meta)
TensorObject(Types.ValueType vt, String fname)
TensorObject(TensorObject fo)
Copy constructor that copies meta data but NO data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNnz()
long
getNumColumns()
long
getNumRows()
void
refreshMetaData()
-
Methods inherited from class org.apache.sysds.runtime.controlprogram.caching.CacheableData
acquireModify, acquireRead, acquireReadAndRelease, addBroadcastSize, cleanupCacheDir, cleanupCacheDir, clearData, clearData, disableCaching, enableCaching, enableCleanup, exportData, exportData, exportData, exportData, exportData, freeEvictedBlob, getBlocksize, getBroadcastHandle, getBroadcastSize, getCacheLineage, getCompressedSize, getDataCharacteristics, getDataSize, getDebugName, getDim, getFedMapping, getFileFormatProperties, getFileName, getGPUObject, getMetaData, getRDDHandle, getStatus, getUniqueID, hasValidLineage, initCaching, initCaching, isBelowCachingThreshold, isCached, isCachingActive, isCleanupEnabled, isCompressed, isDirty, isFederated, isFederated, isFederatedExcept, isHDFSFileExists, isPendingRDDOps, moveData, release, removeGPUObject, removeMetaData, setBroadcastHandle, setCacheLineage, setCompressedSize, setDirty, setEmptyStatus, setFedMapping, setFileFormatProperties, setFileName, setGPUObject, setHDFSFileExists, setMetaData, setRDDHandle, toString
-
Methods inherited from class org.apache.sysds.runtime.instructions.cp.Data
getDataType, getPrivacyConstraint, getValueType, setPrivacyConstraints, updateDataCharacteristics
-
-
-
-
Constructor Detail
-
TensorObject
public TensorObject(String fname)
-
TensorObject
public TensorObject(Types.ValueType vt, String fname)
-
TensorObject
public TensorObject(TensorObject fo)
Copy constructor that copies meta data but NO data.- Parameters:
fo
- frame object
-
-
Method Detail
-
refreshMetaData
public void refreshMetaData()
- Specified by:
refreshMetaData
in classCacheableData<TensorBlock>
-
getNumRows
public long getNumRows()
- Overrides:
getNumRows
in classCacheableData<TensorBlock>
-
getNumColumns
public long getNumColumns()
- Overrides:
getNumColumns
in classCacheableData<TensorBlock>
-
getNnz
public long getNnz()
-
-