Have a question? Connect with the community at the TensorFlow Forum Visit Forum

ResourceDtypeAndShape.Builder

public static final class ResourceDtypeAndShape.Builder

Protobuf type tensorflow.eager.ResourceDtypeAndShape

Public Methods

ResourceDtypeAndShape.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResourceDtypeAndShape
ResourceDtypeAndShape
ResourceDtypeAndShape.Builder
ResourceDtypeAndShape.Builder
clearDtype ()
.tensorflow.DataType dtype = 1;
ResourceDtypeAndShape.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
ResourceDtypeAndShape.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ResourceDtypeAndShape.Builder
clearShape ()
.tensorflow.TensorShapeProto shape = 2;
ResourceDtypeAndShape.Builder
ResourceDtypeAndShape
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
ResourceDtypeAndShape.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceDtypeAndShape.Builder
mergeFrom (com.google.protobuf.Message other)
ResourceDtypeAndShape.Builder
mergeShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
final ResourceDtypeAndShape.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
ResourceDtypeAndShape.Builder
setDtype ( DataType value)
.tensorflow.DataType dtype = 1;
ResourceDtypeAndShape.Builder
setDtypeValue (int value)
.tensorflow.DataType dtype = 1;
ResourceDtypeAndShape.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResourceDtypeAndShape.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ResourceDtypeAndShape.Builder
setShape ( TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
ResourceDtypeAndShape.Builder
setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
final ResourceDtypeAndShape.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public ResourceDtypeAndShape build ()

public ResourceDtypeAndShape buildPartial ()

public ResourceDtypeAndShape.Builder clearDtype ()

.tensorflow.DataType dtype = 1;

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

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

public ResourceDtypeAndShape.Builder clearShape ()

.tensorflow.TensorShapeProto shape = 2;

public ResourceDtypeAndShape 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 ResourceDtypeAndShape.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public ResourceDtypeAndShape.Builder mergeFrom (com.google.protobuf.Message other)

public ResourceDtypeAndShape.Builder mergeShape ( TensorShapeProto value)

.tensorflow.TensorShapeProto shape = 2;

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

public ResourceDtypeAndShape.Builder setDtype ( DataType value)

.tensorflow.DataType dtype = 1;

public ResourceDtypeAndShape.Builder setDtypeValue (int value)

.tensorflow.DataType dtype = 1;

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

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

public ResourceDtypeAndShape.Builder setShape ( TensorShapeProto value)

.tensorflow.TensorShapeProto shape = 2;

public ResourceDtypeAndShape.Builder setShape ( TensorShapeProto.Builder builderForValue)

.tensorflow.TensorShapeProto shape = 2;

public final ResourceDtypeAndShape.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)