Package org.tensorflow.framework
Interface MemoryLogTensorAllocationOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MemoryLogTensorAllocation,MemoryLogTensorAllocation.Builder
public interface MemoryLogTensorAllocationOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKernelName()Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".org.nd4j.shade.protobuf.ByteStringgetKernelNameBytes()Name of the kernel making the allocation as set in GraphDef, e.g., "affine2/weights/Assign".longgetStepId()Process-unique step id.TensorDescriptiongetTensor()Allocated tensor details.TensorDescriptionOrBuildergetTensorOrBuilder()Allocated tensor details.booleanhasTensor()Allocated tensor details.-
Methods inherited from interface org.nd4j.shade.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
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
org.nd4j.shade.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.
.tensorflow.TensorDescription tensor = 3;- Returns:
- Whether the tensor field is set.
-
getTensor
TensorDescription getTensor()
Allocated tensor details.
.tensorflow.TensorDescription tensor = 3;- Returns:
- The tensor.
-
getTensorOrBuilder
TensorDescriptionOrBuilder getTensorOrBuilder()
Allocated tensor details.
.tensorflow.TensorDescription tensor = 3;
-
-