Package org.tensorflow.framework
Interface SaveSliceInfoDefOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SaveSliceInfoDef,SaveSliceInfoDef.Builder
public interface SaveSliceInfoDefOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the full variable of which this is a slice.com.google.protobuf.ByteStringName of the full variable of which this is a slice.longgetFullShape(int index) Shape of the full variable.intShape of the full variable.Shape of the full variable.longgetVarOffset(int index) Offset of this variable into the full variable.intOffset of this variable into the full variable.Offset of this variable into the full variable.longgetVarShape(int index) Shape of this variable.intShape of this variable.Shape of this variable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFullName
String getFullName()Name of the full variable of which this is a slice.
string full_name = 1;- Returns:
- The fullName.
-
getFullNameBytes
com.google.protobuf.ByteString getFullNameBytes()Name of the full variable of which this is a slice.
string full_name = 1;- Returns:
- The bytes for fullName.
-
getFullShapeList
Shape of the full variable.
repeated int64 full_shape = 2;- Returns:
- A list containing the fullShape.
-
getFullShapeCount
int getFullShapeCount()Shape of the full variable.
repeated int64 full_shape = 2;- Returns:
- The count of fullShape.
-
getFullShape
long getFullShape(int index) Shape of the full variable.
repeated int64 full_shape = 2;- Parameters:
index- The index of the element to return.- Returns:
- The fullShape at the given index.
-
getVarOffsetList
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Returns:
- A list containing the varOffset.
-
getVarOffsetCount
int getVarOffsetCount()Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Returns:
- The count of varOffset.
-
getVarOffset
long getVarOffset(int index) Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Parameters:
index- The index of the element to return.- Returns:
- The varOffset at the given index.
-
getVarShapeList
Shape of this variable.
repeated int64 var_shape = 4;- Returns:
- A list containing the varShape.
-
getVarShapeCount
int getVarShapeCount()Shape of this variable.
repeated int64 var_shape = 4;- Returns:
- The count of varShape.
-
getVarShape
long getVarShape(int index) Shape of this variable.
repeated int64 var_shape = 4;- Parameters:
index- The index of the element to return.- Returns:
- The varShape at the given index.
-