מחלקה סופית סטטית ציבורית TensorShapeProto.Dim
One dimension of the tensor.
tensorflow.TensorShapeProto.Dim
מסוג Protobuf.TensorShapeProto.Dim כיתות מקוננות
מעמד | TensorShapeProto.Dim.Builder | One dimension of the tensor. |
קבועים
int | NAME_FIELD_NUMBER | |
int | SIZE_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
סטטי TensorShapeProto.Dim | |
TensorShapeProto.Dim | |
final static com.google.protobuf.Descriptors.Descriptor | |
חוּט | getName () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
int | |
ארוך | getSize () Size of the tensor in that dimension. |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי TensorShapeProto.Dim.Builder | newBuilder () |
סטטי TensorShapeProto.Dim.Builder | newBuilder (אב-טיפוס TensorShapeProto.Dim ) |
TensorShapeProto.Dim.Builder | |
סטטי TensorShapeProto.Dim | parseDelimitedFrom (קלט InputStream) |
סטטי TensorShapeProto.Dim | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto.Dim | parseFrom (נתוני ByteBuffer) |
סטטי TensorShapeProto.Dim | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto.Dim | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto.Dim | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי TensorShapeProto.Dim | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto.Dim | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי TensorShapeProto.Dim | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto.Dim | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
TensorShapeProto.Dim.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי NAME_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי SIZE_FIELD_NUMBER
ערך קבוע: 1
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית getName ()
Optional name of the tensor dimension.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
Optional name of the tensor dimension.
string name = 2;
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
ציבורי סטטי TensorShapeProto.Dim parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto.Dim parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto.Dim parseFrom סטטי ציבורי (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
TensorShapeProto.Dim parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
סטטי ציבורי TensorShapeProto.Dim parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
TensorShapeProto.Dim parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי TensorShapeProto.Dim parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto.Dim parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|