ResourceHandleProto.DtypeAndShape.Builder

public static final class ResourceHandleProto.DtypeAndShape.Builder

 Protocol buffer representing a pair of (data type, tensor shape).
 
Protobuf type tensorflow.ResourceHandleProto.DtypeAndShape

Public Methods

ResourceHandleProto.DtypeAndShape.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResourceHandleProto.DtypeAndShape
ResourceHandleProto.DtypeAndShape
ResourceHandleProto.DtypeAndShape.Builder
ResourceHandleProto.DtypeAndShape.Builder
clearDtype ()
.tensorflow.DataType dtype = 1;
ResourceHandleProto.DtypeAndShape.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
ResourceHandleProto.DtypeAndShape.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ResourceHandleProto.DtypeAndShape.Builder
clearShape ()
.tensorflow.TensorShapeProto shape = 2;
ResourceHandleProto.DtypeAndShape.Builder
ResourceHandleProto.DtypeAndShape
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
DataType
getDtype ()
.tensorflow.DataType dtype = 1;
int
getDtypeValue ()
.tensorflow.DataType dtype = 1;
TensorShapeProto
getShape ()
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProto.Builder
getShapeBuilder ()
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
.tensorflow.TensorShapeProto shape = 2;
boolean
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
final boolean
ResourceHandleProto.DtypeAndShape.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto.DtypeAndShape.Builder
mergeFrom (com.google.protobuf.Message other)
ResourceHandleProto.DtypeAndShape.Builder
mergeShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
final ResourceHandleProto.DtypeAndShape.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
ResourceHandleProto.DtypeAndShape.Builder
setDtype ( DataType value)
.tensorflow.DataType dtype = 1;
ResourceHandleProto.DtypeAndShape.Builder
setDtypeValue (int value)
.tensorflow.DataType dtype = 1;
ResourceHandleProto.DtypeAndShape.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResourceHandleProto.DtypeAndShape.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ResourceHandleProto.DtypeAndShape.Builder
setShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
ResourceHandleProto.DtypeAndShape.Builder
setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
final ResourceHandleProto.DtypeAndShape.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public ResourceHandleProto.DtypeAndShape.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public ResourceHandleProto.DtypeAndShape.Builder clearDtype ()

.tensorflow.DataType dtype = 1;

public ResourceHandleProto.DtypeAndShape.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public ResourceHandleProto.DtypeAndShape.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public ResourceHandleProto.DtypeAndShape.Builder clearShape ()

.tensorflow.TensorShapeProto shape = 2;

public ResourceHandleProto.DtypeAndShape getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public DataType getDtype ()

.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

.tensorflow.DataType dtype = 1;

public TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProto.Builder getShapeBuilder ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

.tensorflow.TensorShapeProto shape = 2;

public boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public final boolean isInitialized ()

public ResourceHandleProto.DtypeAndShape.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public ResourceHandleProto.DtypeAndShape.Builder mergeFrom (com.google.protobuf.Message other)

public ResourceHandleProto.DtypeAndShape.Builder mergeShape ( TensorShapeProto value)

.tensorflow.TensorShapeProto shape = 2;

public final ResourceHandleProto.DtypeAndShape.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public ResourceHandleProto.DtypeAndShape.Builder setDtype ( DataType value)

.tensorflow.DataType dtype = 1;

public ResourceHandleProto.DtypeAndShape.Builder setDtypeValue (int value)

.tensorflow.DataType dtype = 1;

public ResourceHandleProto.DtypeAndShape.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public ResourceHandleProto.DtypeAndShape.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public ResourceHandleProto.DtypeAndShape.Builder setShape ( TensorShapeProto value)

.tensorflow.TensorShapeProto shape = 2;

public ResourceHandleProto.DtypeAndShape.Builder setShape ( TensorShapeProto.Builder builderForValue)

.tensorflow.TensorShapeProto shape = 2;

public final ResourceHandleProto.DtypeAndShape.Builder setUnknownFields (com