public final class SavedSlice
Saved tensor slice: it stores the name of the tensors, the slice, and the raw data.
tensorflow.SavedSlice
tipo tensorflow.SavedSlice
Classes aninhadas
aula | SavedSlice.Builder | Saved tensor slice: it stores the name of the tensors, the slice, and the raw data. |
Constantes
int | DATA_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | SLICE_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
TensorProto | getData () The raw data of the slice is stored as a TensorProto. |
TensorProtoOrBuilder | getDataOrBuilder () The raw data of the slice is stored as a TensorProto. |
SavedSlice estático | |
SavedSlice | |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getName () Name of the tensor that this slice belongs to. |
com.google.protobuf.ByteString | getNameBytes () Name of the tensor that this slice belongs to. |
int | |
TensorSliceProto | getSlice () Extent of the slice. |
TensorSliceProtoOrBuilder | getSliceOrBuilder () Extent of the slice. |
final com.google.protobuf.UnknownFieldSet | |
boleano | hasData () The raw data of the slice is stored as a TensorProto. |
boleano | hasSlice () Extent of the slice. |
int | hashCode () |
final booleano | |
static SavedSlice.Builder | newBuilder (protótipo SavedSlice ) |
static SavedSlice.Builder | newBuilder () |
SavedSlice.Builder | |
SavedSlice estático | parseDelimitedFrom (input InputStream) |
SavedSlice estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSlice estático | parseFrom (dados ByteBuffer) |
SavedSlice estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSlice estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSlice estático | parseFrom (com.google.protobuf.CodedInputStream input) |
SavedSlice estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSlice estático | parseFrom (com.google.protobuf.ByteString data) |
SavedSlice estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSlice estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
SavedSlice.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int DATA_FIELD_NUMBER
Valor Constante: 3
public static final int NAME_FIELD_NUMBER
Valor Constante: 1
public static final int SLICE_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
public boolean equals (Object obj)
public TensorProto getData ()
The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;
public TensorProtoOrBuilder getDataOrBuilder ()
The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
Nome da string name = 1;
Name of the tensor that this slice belongs to. This must be identical to the name used to encode the key for this record.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Nome da string name = 1;
Name of the tensor that this slice belongs to. This must be identical to the name used to encode the key for this record.
string name = 1;
público getParserForType ()
public int getSerializedSize ()
public TensorSliceProto getSlice ()
Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2;
public TensorSliceProtoOrBuilder getSliceOrBuilder ()
Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasData ()
The raw data of the slice is stored as a TensorProto. Only raw data are stored (we don't fill in fields such as dtype or tensor_shape).
.tensorflow.TensorProto data = 3;
public boolean hasSlice ()
Extent of the slice. Must have one entry for each of the dimension of the tensor that this slice belongs to.
.tensorflow.TensorSliceProto slice = 2;
public int hashCode ()
public final boolean isInitialized ()
public static SavedSlice parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedSlice parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedSlice parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedSlice parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static SavedSlice parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static SavedSlice parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static SavedSlice parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|