כיתת גמר ציבורית TensorShapeProto
Dimensions of a tensor.
tensorflow.TensorShapeProto
מסוג Protobuf.TensorShapeProto כיתות מקוננות
מעמד | TensorShapeProto.Builder | Dimensions of a tensor. | |
מעמד | TensorShapeProto.Dim | One dimension of the tensor. | |
מִמְשָׁק | TensorShapeProto.DimOrBuilder |
קבועים
int | DIM_FIELD_NUMBER | |
int | UNKNOWN_RANK_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
סטטי TensorShapeProto | |
TensorShapeProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (אינדקס int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
int | getDimCount () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
רשימה< TensorShapeProto.Dim > | getDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (int index) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
רשימה<? מרחיב את TensorShapeProto.DimOrBuilder > | getDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
int | |
final com.google.protobuf.UnknownFieldSet | |
בוליאני | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
int | hashcode () |
בוליאנית סופית | |
סטטי TensorShapeProto.Builder | newBuilder (אב טיפוס TensorShapeProto ) |
סטטי TensorShapeProto.Builder | newBuilder () |
TensorShapeProto.Builder | |
סטטי TensorShapeProto | parseDelimitedFrom (קלט InputStream) |
סטטי TensorShapeProto | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto | parseFrom (נתוני ByteBuffer) |
סטטי TensorShapeProto | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי TensorShapeProto | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי TensorShapeProto | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי TensorShapeProto | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
TensorShapeProto.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי DIM_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי UNKNOWN_RANK_FIELD_NUMBER
ערך קבוע: 3
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
Public TensorShapeProto.Dim getDim (int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
public int getDimCount ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
רשימה ציבורית< TensorShapeProto.Dim > getDimList ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
public TensorShapeProto.DimOrBuilder getDimOrBuilder (int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
רשימה ציבורית<? מרחיב את TensorShapeProto.DimOrBuilder > getDimOrBuilderList ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
בוליאני ציבורי getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
סטטי ציבורי TensorShapeProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto parseFrom סטטי ציבורי (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto parseFrom סטטי ציבורי (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
ציבורי סטטי TensorShapeProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי TensorShapeProto parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
ציבורי סטטי TensorShapeProto parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
TensorShapeProto parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|