Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

TensorSliceProto.Builder

public static final class TensorSliceProto.Builder

 Can only be interpreted if you know the corresponding TensorShape.
 
Protobuf type tensorflow.TensorSliceProto

Public Methods

TensorSliceProto.Builder
addAllExtent (Iterable<? extends TensorSliceProto.Extent > values)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
addExtent ( TensorSliceProto.Extent.Builder builderForValue)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
addExtent (int index, TensorSliceProto.Extent.Builder builderForValue)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
addExtent ( TensorSliceProto.Extent value)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
addExtent (int index, TensorSliceProto.Extent value)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Extent.Builder
addExtentBuilder ()
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Extent.Builder
addExtentBuilder (int index)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorSliceProto
TensorSliceProto
TensorSliceProto.Builder
TensorSliceProto.Builder
clearExtent ()
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
TensorSliceProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorSliceProto.Builder
TensorSliceProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
TensorSliceProto.Extent
getExtent (int index)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Extent.Builder
getExtentBuilder (int index)
 Extent of the slice in all tensor dimensions.
List< TensorSliceProto.Extent.Builder >
getExtentBuilderList ()
 Extent of the slice in all tensor dimensions.
int
getExtentCount ()
 Extent of the slice in all tensor dimensions.
List< TensorSliceProto.Extent >
getExtentList ()
 Extent of the slice in all tensor dimensions.
TensorSliceProto.ExtentOrBuilder
getExtentOrBuilder (int index)
 Extent of the slice in all tensor dimensions.
List<? extends TensorSliceProto.ExtentOrBuilder >
getExtentOrBuilderList ()
 Extent of the slice in all tensor dimensions.
final boolean
TensorSliceProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorSliceProto.Builder
mergeFrom (com.google.protobuf.Message other)
final TensorSliceProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
TensorSliceProto.Builder
removeExtent (int index)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
setExtent (int index, TensorSliceProto.Extent value)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
setExtent (int index, TensorSliceProto.Extent.Builder builderForValue)
 Extent of the slice in all tensor dimensions.
TensorSliceProto.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorSliceProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final TensorSliceProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TensorSliceProto.Builder addAllExtent (Iterable<? extends TensorSliceProto.Extent > values)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Builder addExtent ( TensorSliceProto.Extent.Builder builderForValue)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Builder addExtent (int index, TensorSliceProto.Extent.Builder builderForValue)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Builder addExtent ( TensorSliceProto.Extent value)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Builder addExtent (int index, TensorSliceProto.Extent value)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Extent.Builder addExtentBuilder ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Extent.Builder addExtentBuilder (int index)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

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

public TensorSliceProto build ()

public TensorSliceProto buildPartial ()

public TensorSliceProto.Builder clearExtent ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

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

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

public TensorSliceProto getDefaultInstanceForType ()

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

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

public TensorSliceProto.Extent getExtent (int index)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public TensorSliceProto.Extent.Builder getExtentBuilder (int index)

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public List< TensorSliceProto.Extent.Builder > getExtentBuilderList ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public int getExtentCount ()

 Extent of the slice in all tensor dimensions.
 Must have one entry for each of the dimension of the tensor that this
 slice belongs to.  The order of sizes is the same as the order of
 dimensions in the TensorShape.
 
repeated .tensorflow.TensorSliceProto.Extent extent = 1;

public List< TensorSliceProto.Extent > getExtentList ()