public static final class TensorRepresentation.SparseTensor extends com.google.protobuf.GeneratedMessageV3 implements TensorRepresentation.SparseTensorOrBuilder
A tf.SparseTensor whose indices and values come from separate data columns. This will replace Schema.sparse_feature eventually. The index columns must be of INT type, and all the columns must co-occur and have the same valency at the same row.Protobuf type
tensorflow.metadata.v0.TensorRepresentation.SparseTensor| Modifier and Type | Class and Description |
|---|---|
static class |
TensorRepresentation.SparseTensor.Builder
A tf.SparseTensor whose indices and values come from separate data columns.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DENSE_SHAPE_FIELD_NUMBER |
static int |
INDEX_COLUMN_NAMES_FIELD_NUMBER |
static com.google.protobuf.Parser<TensorRepresentation.SparseTensor> |
PARSER
Deprecated.
|
static int |
VALUE_COLUMN_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TensorRepresentation.SparseTensor |
getDefaultInstance() |
TensorRepresentation.SparseTensor |
getDefaultInstanceForType() |
FixedShape |
getDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch
dimension).
|
FixedShapeOrBuilder |
getDenseShapeOrBuilder()
The dense shape of the resulting SparseTensor (does not include the batch
dimension).
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIndexColumnNames(int index)
The columns constitute the coordinates of the values.
|
com.google.protobuf.ByteString |
getIndexColumnNamesBytes(int index)
The columns constitute the coordinates of the values.
|
int |
getIndexColumnNamesCount()
The columns constitute the coordinates of the values.
|
com.google.protobuf.ProtocolStringList |
getIndexColumnNamesList()
The columns constitute the coordinates of the values.
|
com.google.protobuf.Parser<TensorRepresentation.SparseTensor> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValueColumnName()
The column that contains the values.
|
com.google.protobuf.ByteString |
getValueColumnNameBytes()
The column that contains the values.
|
boolean |
hasDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch
dimension).
|
int |
hashCode() |
boolean |
hasValueColumnName()
The column that contains the values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TensorRepresentation.SparseTensor.Builder |
newBuilder() |
static TensorRepresentation.SparseTensor.Builder |
newBuilder(TensorRepresentation.SparseTensor prototype) |
TensorRepresentation.SparseTensor.Builder |
newBuilderForType() |
protected TensorRepresentation.SparseTensor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TensorRepresentation.SparseTensor |
parseDelimitedFrom(InputStream input) |
static TensorRepresentation.SparseTensor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorRepresentation.SparseTensor |
parseFrom(byte[] data) |
static TensorRepresentation.SparseTensor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorRepresentation.SparseTensor |
parseFrom(ByteBuffer data) |
static TensorRepresentation.SparseTensor |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorRepresentation.SparseTensor |
parseFrom(com.google.protobuf.ByteString data) |
static TensorRepresentation.SparseTensor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorRepresentation.SparseTensor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TensorRepresentation.SparseTensor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TensorRepresentation.SparseTensor |
parseFrom(InputStream input) |
static TensorRepresentation.SparseTensor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TensorRepresentation.SparseTensor> |
parser() |
TensorRepresentation.SparseTensor.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DENSE_SHAPE_FIELD_NUMBER
public static final int INDEX_COLUMN_NAMES_FIELD_NUMBER
public static final int VALUE_COLUMN_NAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TensorRepresentation.SparseTensor> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;hasDenseShape in interface TensorRepresentation.SparseTensorOrBuilderpublic FixedShape getDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;getDenseShape in interface TensorRepresentation.SparseTensorOrBuilderpublic FixedShapeOrBuilder getDenseShapeOrBuilder()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;getDenseShapeOrBuilder in interface TensorRepresentation.SparseTensorOrBuilderpublic com.google.protobuf.ProtocolStringList getIndexColumnNamesList()
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;getIndexColumnNamesList in interface TensorRepresentation.SparseTensorOrBuilderpublic int getIndexColumnNamesCount()
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;getIndexColumnNamesCount in interface TensorRepresentation.SparseTensorOrBuilderpublic String getIndexColumnNames(int index)
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;getIndexColumnNames in interface TensorRepresentation.SparseTensorOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIndexColumnNamesBytes(int index)
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;getIndexColumnNamesBytes in interface TensorRepresentation.SparseTensorOrBuilderindex - The index of the value to return.public boolean hasValueColumnName()
The column that contains the values.
optional string value_column_name = 3;hasValueColumnName in interface TensorRepresentation.SparseTensorOrBuilderpublic String getValueColumnName()
The column that contains the values.
optional string value_column_name = 3;getValueColumnName in interface TensorRepresentation.SparseTensorOrBuilderpublic com.google.protobuf.ByteString getValueColumnNameBytes()
The column that contains the values.
optional string value_column_name = 3;getValueColumnNameBytes in interface TensorRepresentation.SparseTensorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TensorRepresentation.SparseTensor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TensorRepresentation.SparseTensor parseFrom(InputStream input) throws IOException
IOExceptionpublic static TensorRepresentation.SparseTensor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TensorRepresentation.SparseTensor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TensorRepresentation.SparseTensor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TensorRepresentation.SparseTensor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TensorRepresentation.SparseTensor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TensorRepresentation.SparseTensor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TensorRepresentation.SparseTensor.Builder newBuilder()
public static TensorRepresentation.SparseTensor.Builder newBuilder(TensorRepresentation.SparseTensor prototype)
public TensorRepresentation.SparseTensor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TensorRepresentation.SparseTensor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TensorRepresentation.SparseTensor getDefaultInstance()
public static com.google.protobuf.Parser<TensorRepresentation.SparseTensor> parser()
public com.google.protobuf.Parser<TensorRepresentation.SparseTensor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TensorRepresentation.SparseTensor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Gojek. All rights reserved.