lớp cuối cùng công khai AssetFileDef
An asset file def for a single file or a set of sharded files with the same name.
tensorflow.AssetFileDef Các lớp lồng nhau
| lớp học | AssetFileDef.Builder | An asset file def for a single file or a set of sharded files with the same name. | |
Hằng số
| int | FILENAME_FIELD_NUMBER | |
| int | TENSOR_INFO_FIELD_NUMBER |
Phương pháp công khai
| boolean | bằng (Đối tượng obj) |
| AssetFileDef tĩnh | |
| AssetFileDef | |
| com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
| Sợi dây | lấy tên tệp () The filename within an assets directory. |
| com.google.protobuf.ByteString | getFilenameBytes () The filename within an assets directory. |
| int | |
| Thông tin Tensor | getTensorInfo () The tensor to bind the asset filename to. |
| TensorInfoOrBuilder | getTensorInfoOrBuilder () The tensor to bind the asset filename to. |
| com.google.protobuf.UnknownFieldSet cuối cùng | |
| boolean | hasTensorInfo () The tensor to bind the asset filename to. |
| int | mã băm () |
| boolean cuối cùng | |
| tĩnh AssetFileDef.Builder | newBuilder ( nguyên mẫu AssetFileDef ) |
| tĩnh AssetFileDef.Builder | |
| AssetFileDef.Builder | |
| AssetFileDef tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
| AssetFileDef 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) |
| AssetFileDef tĩnh | ParseFrom (dữ liệu ByteBuffer) |
| AssetFileDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| AssetFileDef tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| AssetFileDef tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
| AssetFileDef tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| AssetFileDef tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
| AssetFileDef tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| AssetFileDef tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| tĩnh | |
| AssetFileDef.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 công khai FILENAME_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh cuối cùng TENSOR_INFO_FIELD_NUMBER
Giá trị không đổi: 1
Phương pháp công khai
boolean công khai bằng (Object obj)
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
Chuỗi công khai getFilename ()
The filename within an assets directory. Note: does not include the path prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename would be "vocab.txt".
string filename = 2; com.google.protobuf.ByteString getFilenameBytes công khai ()
The filename within an assets directory. Note: does not include the path prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename would be "vocab.txt".
string filename = 2; công cộng getParserForType ()
int công khai getSerializedSize ()
công khai TensorInfo getTensorInfo ()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1; TensorInfoOrBuilder công khai getTensorInfoOrBuilder ()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1; trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean công khai hasTensorInfo ()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1; 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 AssetFileDef phân tích cú phápDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
phân tích cú pháp tĩnh công khai AssetFileDefFrom (dữ liệu ByteBuffer)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
phân tích cú pháp tĩnh công khai AssetFileDefFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
public static AssetFileDef phân tích cú phápFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
phân tích cú pháp tĩnh công khai AssetFileDefFrom (đầu vào com.google.protobuf.CodedInputStream)
Ném
| IOException |
|---|
tĩnh công khai Phân tích cú pháp AssetFileDefTừ (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
phân tích cú pháp tĩnh công khai AssetFileDefFrom (dữ liệu com.google.protobuf.ByteString)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
phân tích cú pháp AssetFileDef tĩnh công khai (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
phân tích cú pháp tĩnh công khai AssetFileDefFrom (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 |
|---|