Package org.tensorflow.framework
Interface ScopedAllocatorOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScopedAllocatorOptions,ScopedAllocatorOptions.Builder
public interface ScopedAllocatorOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description java.lang.StringgetEnableOp(int index)If present, only perform optimization for these ops.com.google.protobuf.ByteStringgetEnableOpBytes(int index)If present, only perform optimization for these ops.intgetEnableOpCount()If present, only perform optimization for these ops.java.util.List<java.lang.String>getEnableOpList()If present, only perform optimization for these ops.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnableOpList
java.util.List<java.lang.String> getEnableOpList()If present, only perform optimization for these ops.
repeated string enable_op = 1;- Returns:
- A list containing the enableOp.
-
getEnableOpCount
int getEnableOpCount()If present, only perform optimization for these ops.
repeated string enable_op = 1;- Returns:
- The count of enableOp.
-
getEnableOp
java.lang.String getEnableOp(int index)If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
index- The index of the element to return.- Returns:
- The enableOp at the given index.
-
getEnableOpBytes
com.google.protobuf.ByteString getEnableOpBytes(int index)If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enableOp at the given index.
-