Package org.tensorflow.framework
Interface OpDeprecationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpDeprecation,OpDeprecation.Builder
public interface OpDeprecationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description java.lang.StringgetExplanation()Explanation of why it was deprecated and what to use instead.com.google.protobuf.ByteStringgetExplanationBytes()Explanation of why it was deprecated and what to use instead.intgetVersion()First GraphDef version at which the op is disallowed.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVersion
int getVersion()First GraphDef version at which the op is disallowed.
int32 version = 1;- Returns:
- The version.
-
getExplanation
java.lang.String getExplanation()Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Returns:
- The explanation.
-
getExplanationBytes
com.google.protobuf.ByteString getExplanationBytes()Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Returns:
- The bytes for explanation.
-