public class BasicTensor extends AbstractTensor
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.DURATION, Entity.PARTITION_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
BasicTensor(Entity.DATA_TYPE dataType,
ExtendedDataInput in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserialize(Entity.DATA_TYPE dataType,
ExtendedDataInput in) |
Vector |
getData() |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
int |
getDimensions() |
long |
getElemCount() |
long[] |
getShapes() |
long[] |
getStrides() |
String |
getString() |
int |
rows() |
void |
write(ExtendedDataOutput output) |
columns, getDataFormgetDataCategory, isChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVector, typeToCategory, writeCompressedprotected BasicTensor(Entity.DATA_TYPE dataType, ExtendedDataInput in) throws IOException
IOExceptionprotected void deserialize(Entity.DATA_TYPE dataType, ExtendedDataInput in) throws IOException
IOExceptionpublic Entity.DATA_CATEGORY getDataCategory()
public Entity.DATA_TYPE getDataType()
public int rows()
public void write(ExtendedDataOutput output) throws IOException
IOExceptionpublic int getDimensions()
public long[] getShapes()
public long[] getStrides()
public long getElemCount()
public Vector getData()
public String getString()
Copyright © 2024 DolphinDB. All rights reserved.