lớp cuối cùng tĩnh công khai TensorShapeProto.Builder
Dimensions of a tensor.Tensorflow loại
tensorflow.TensorShapeProto
Phương pháp công khai
TensorShapeProto.Builder | addAllDim (Iterable<? mở rộng các giá trị TensorShapeProto.Dim >) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | addDim ( TensorShapeProto.Dim.Builder builderForValue) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | addDim (chỉ mục int, TensorShapeProto.Dim.Builder builderForValue) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | addDim (chỉ số int, giá trị TensorShapeProto.Dim ) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | addDim (giá trị TensorShapeProto.Dim ) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Dim.Builder | addDimBuilder () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Dim.Builder | addDimBuilder (chỉ mục int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
TensorShapeProto | xây dựng () |
TensorShapeProto | |
TensorShapeProto.Builder | thông thoáng () |
TensorShapeProto.Builder | ClearDim () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
TensorShapeProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Builder | clearUnknownRank () If true, the number of dimensions in the shape is unknown. |
TensorShapeProto.Builder | dòng vô tính () |
TensorShapeProto | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (chỉ số int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Dim.Builder | getDimBuilder (chỉ mục int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Danh sách< TensorShapeProto.Dim.Builder > | getDimBuilderList () 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. |
boolean | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
boolean cuối cùng | |
TensorShapeProto.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorShapeProto.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
TensorShapeProto.Builder | loại bỏDim (chỉ số int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | setDim (chỉ số int, giá trị TensorShapeProto.Dim ) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | setDim (chỉ mục int, TensorShapeProto.Dim.Builder builderForValue) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
TensorShapeProto.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
TensorShapeProto.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
TensorShapeProto.Builder | setUnknownRank (giá trị boolean) If true, the number of dimensions in the shape is unknown. |
Phương pháp kế thừa
Phương pháp công khai
công khai TensorShapeProto.Builder addAllDim (Iterable<? mở rộng các giá trị TensorShapeProto.Dim >)
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.Builder addDim ( TensorShapeProto.Dim.Builder builderForValue)
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.Builder addDim (chỉ mục int, TensorShapeProto.Dim.Builder builderForValue)
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.Builder addDim (chỉ mục int, giá trị TensorShapeProto.Dim )
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.Builder addDim (giá trị TensorShapeProto.Dim )
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.Dim.Builder addDimBuilder ()
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.Dim.Builder addDimBuilder (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;
công khai TensorShapeProto.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai TensorShapeProto.Builder clearDim ()
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.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
công khai TensorShapeProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
công khai TensorShapeProto.Builder clearUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
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;
công khai TensorShapeProto.Dim.Builder getDimBuilder (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< TensorShapeProto.Dim.Builder > getDimBuilderList ()
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;
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;
boolean cuối cùng công khai được khởi tạo ()
công khai TensorShapeProto.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai TensorShapeProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai TensorShapeProto.Builder RemoveDim (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;
công khai TensorShapeProto.Builder setDim (chỉ mục int, giá trị TensorShapeProto.Dim )
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.Builder setDim (chỉ mục int, TensorShapeProto.Dim.Builder builderForValue)
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.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai TensorShapeProto.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
trận chung kết công khai TensorShapeProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai TensorShapeProto.Builder setUnknownRank (giá trị boolean)
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;