public static interface TensorShapeProto.DimOrBuilder
extends com.github.os72.protobuf351.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
Optional name of the tensor dimension.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Optional name of the tensor dimension.
|
long |
getSize()
Size of the tensor in that dimension.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getSize()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;
String getName()
Optional name of the tensor dimension.
string name = 2;
com.github.os72.protobuf351.ByteString getNameBytes()
Optional name of the tensor dimension.
string name = 2;
Copyright © 2018. All rights reserved.