lớp cuối cùng công khai TensorShapeProto
Dimensions of a tensor.Tensorflow loại
tensorflow.TensorShapeProto
Các lớp lồng nhau
lớp học | TensorShapeProto.Builder | Dimensions of a tensor. | |
lớp học | TensorShapeProto.Dim | One dimension of the tensor. | |
giao diện | TensorShapeProto.DimOrBuilder |
Hằng số
int | DIM_FIELD_NUMBER | |
int | UNKNOWN_RANK_FIELD_NUMBER |
Phương pháp công cộng
boolean | bằng (Đối tượng obj) |
TensorShapeProto tĩnh | |
TensorShapeProto | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
TensorShapeProto.Dim | getDim (chỉ số 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. |
Danh sách< TensorShapeProto.Dim > | getDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (chỉ mục int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Danh sách<? mở rộng TensorShapeProto.DimOrBuilder > | getDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
int | |
com.google.protobuf.UnknownFieldSet cuối cùng | |
boolean | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
int | Mã Băm () |
boolean cuối cùng | |
TensorShapeProto.Builder tĩnh | newBuilder ( nguyên mẫu TensorShapeProto ) |
TensorShapeProto.Builder tĩnh | |
TensorShapeProto.Builder | |
TensorShapeProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
TensorShapeProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
TensorShapeProto tĩnh | ParseFrom (dữ liệu ByteBuffer) |
TensorShapeProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
TensorShapeProto tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
TensorShapeProto tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
tĩnh | |
TensorShapeProto.Builder | toBuilder () |
trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int tĩnh cuối cùng DIM_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh cuối cùng UNKNOWN_RANK_FIELD_NUMBER
Giá trị không đổi: 3
Phương pháp công cộng
boolean công khai bằng (Object obj)
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
công khai TensorShapeProto.Dim getDim (chỉ mục int)
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;
int công khai 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;
Danh sách công khai< 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;
công khai TensorShapeProto.DimOrBuilder getDimOrBuilder (chỉ mục int)
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;
Danh sách công khai<? mở rộng 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;
công cộng getParserForType ()
int công khai getSerializedSize ()
trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean công khai getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
tĩnh công khai TensorShapeProtoparseDelimitedFrom ( Đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorShapeProto parsFrom (dữ liệu ByteBuffer)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorShapeProto parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorShapeProto parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorShapeProto parsFrom (đầu vào com.google.protobuf.CodedInputStream)
Ném
IOException |
---|
tĩnh công khai TensorShapeProto parsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorShapeProto parsFrom (dữ liệu com.google.protobuf.ByteString)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
tĩnh công khai TensorShapeProto parsFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
tĩnh công khai TensorShapeProto parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
IOException |
---|