Package org.platanios.tensorflow.proto
Interface MemoryLogTensorAllocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MemoryLogTensorAllocation
,MemoryLogTensorAllocation.Builder
public interface MemoryLogTensorAllocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKernelName()
Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".com.google.protobuf.ByteString
getKernelNameBytes()
Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".long
getStepId()
Process-unique step id.TensorDescription
getTensor()
Allocated tensor details.TensorDescriptionOrBuilder
getTensorOrBuilder()
Allocated tensor details.boolean
hasTensor()
Allocated tensor details.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStepId
long getStepId()
Process-unique step id.
int64 step_id = 1;
- Returns:
- The stepId.
-
getKernelName
java.lang.String getKernelName()
Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".
string kernel_name = 2;
- Returns:
- The kernelName.
-
getKernelNameBytes
com.google.protobuf.ByteString getKernelNameBytes()
Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".
string kernel_name = 2;
- Returns:
- The bytes for kernelName.
-
hasTensor
boolean hasTensor()
Allocated tensor details.
.org.platanios.tensorflow.proto.TensorDescription tensor = 3;
- Returns:
- Whether the tensor field is set.
-
getTensor
TensorDescription getTensor()
Allocated tensor details.
.org.platanios.tensorflow.proto.TensorDescription tensor = 3;
- Returns:
- The tensor.
-
getTensorOrBuilder
TensorDescriptionOrBuilder getTensorOrBuilder()
Allocated tensor details.
.org.platanios.tensorflow.proto.TensorDescription tensor = 3;
-
-