Interface ApiDefOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
ApiDef, ApiDef.Builder

public interface ApiDefOrBuilder extends MessageOrBuilder
  • Method Details

    • getGraphOpName

      String getGraphOpName()
      Name of the op (in the OpDef) to specify the API for.
      
      string graph_op_name = 1;
      Returns:
      The graphOpName.
    • getGraphOpNameBytes

      ByteString getGraphOpNameBytes()
      Name of the op (in the OpDef) to specify the API for.
      
      string graph_op_name = 1;
      Returns:
      The bytes for graphOpName.
    • getDeprecationMessage

      String getDeprecationMessage()
      If this op is deprecated, set deprecation message to the message
      that should be logged when this op is used.
      The message should indicate alternative op to use, if any.
      
      string deprecation_message = 12;
      Returns:
      The deprecationMessage.
    • getDeprecationMessageBytes

      ByteString getDeprecationMessageBytes()
      If this op is deprecated, set deprecation message to the message
      that should be logged when this op is used.
      The message should indicate alternative op to use, if any.
      
      string deprecation_message = 12;
      Returns:
      The bytes for deprecationMessage.
    • getDeprecationVersion

      int getDeprecationVersion()
      Major version when the op will be deleted. For e.g. set this
      value to 2 if op API should be removed in TensorFlow 2.0 and
      deprecated in versions before that.
      
      int32 deprecation_version = 13;
      Returns:
      The deprecationVersion.
    • getVisibilityValue

      int getVisibilityValue()
      .tensorflow.ApiDef.Visibility visibility = 2;
      Returns:
      The enum numeric value on the wire for visibility.
    • getVisibility

      ApiDef.Visibility getVisibility()
      .tensorflow.ApiDef.Visibility visibility = 2;
      Returns:
      The visibility.
    • getEndpointList

      List<ApiDef.Endpoint> getEndpointList()
      repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
    • getEndpoint

      ApiDef.Endpoint getEndpoint(int index)
      repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
    • getEndpointCount

      int getEndpointCount()
      repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
    • getEndpointOrBuilderList

      List<? extends ApiDef.EndpointOrBuilder> getEndpointOrBuilderList()
      repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
    • getEndpointOrBuilder

      ApiDef.EndpointOrBuilder getEndpointOrBuilder(int index)
      repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
    • getInArgList

      List<ApiDef.Arg> getInArgList()
      repeated .tensorflow.ApiDef.Arg in_arg = 4;
    • getInArg

      ApiDef.Arg getInArg(int index)
      repeated .tensorflow.ApiDef.Arg in_arg = 4;
    • getInArgCount

      int getInArgCount()
      repeated .tensorflow.ApiDef.Arg in_arg = 4;
    • getInArgOrBuilderList

      List<? extends ApiDef.ArgOrBuilder> getInArgOrBuilderList()
      repeated .tensorflow.ApiDef.Arg in_arg = 4;
    • getInArgOrBuilder

      ApiDef.ArgOrBuilder getInArgOrBuilder(int index)
      repeated .tensorflow.ApiDef.Arg in_arg = 4;
    • getOutArgList

      List<ApiDef.Arg> getOutArgList()
      repeated .tensorflow.ApiDef.Arg out_arg = 5;
    • getOutArg

      ApiDef.Arg getOutArg(int index)
      repeated .tensorflow.ApiDef.Arg out_arg = 5;
    • getOutArgCount

      int getOutArgCount()
      repeated .tensorflow.ApiDef.Arg out_arg = 5;
    • getOutArgOrBuilderList

      List<? extends ApiDef.ArgOrBuilder> getOutArgOrBuilderList()
      repeated .tensorflow.ApiDef.Arg out_arg = 5;
    • getOutArgOrBuilder

      ApiDef.ArgOrBuilder getOutArgOrBuilder(int index)
      repeated .tensorflow.ApiDef.Arg out_arg = 5;
    • getArgOrderList

      List<String> getArgOrderList()
      List of original in_arg names to specify new argument order.
      Length of arg_order should be either empty to keep current order
      or match size of in_arg.
      
      repeated string arg_order = 11;
      Returns:
      A list containing the argOrder.
    • getArgOrderCount

      int getArgOrderCount()
      List of original in_arg names to specify new argument order.
      Length of arg_order should be either empty to keep current order
      or match size of in_arg.
      
      repeated string arg_order = 11;
      Returns:
      The count of argOrder.
    • getArgOrder

      String getArgOrder(int index)
      List of original in_arg names to specify new argument order.
      Length of arg_order should be either empty to keep current order
      or match size of in_arg.
      
      repeated string arg_order = 11;
      Parameters:
      index - The index of the element to return.
      Returns:
      The argOrder at the given index.
    • getArgOrderBytes

      ByteString getArgOrderBytes(int index)
      List of original in_arg names to specify new argument order.
      Length of arg_order should be either empty to keep current order
      or match size of in_arg.
      
      repeated string arg_order = 11;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the argOrder at the given index.
    • getAttrList

      List<ApiDef.Attr> getAttrList()
      repeated .tensorflow.ApiDef.Attr attr = 6;
    • getAttr

      ApiDef.Attr getAttr(int index)
      repeated .tensorflow.ApiDef.Attr attr = 6;
    • getAttrCount

      int getAttrCount()
      repeated .tensorflow.ApiDef.Attr attr = 6;
    • getAttrOrBuilderList

      List<? extends ApiDef.AttrOrBuilder> getAttrOrBuilderList()
      repeated .tensorflow.ApiDef.Attr attr = 6;
    • getAttrOrBuilder

      ApiDef.AttrOrBuilder getAttrOrBuilder(int index)
      repeated .tensorflow.ApiDef.Attr attr = 6;
    • getSummary

      String getSummary()
      One-line human-readable description of what the Op does.
      
      string summary = 7;
      Returns:
      The summary.
    • getSummaryBytes

      ByteString getSummaryBytes()
      One-line human-readable description of what the Op does.
      
      string summary = 7;
      Returns:
      The bytes for summary.
    • getDescription

      String getDescription()
      Additional, longer human-readable description of what the Op does.
      
      string description = 8;
      Returns:
      The description.
    • getDescriptionBytes

      ByteString getDescriptionBytes()
      Additional, longer human-readable description of what the Op does.
      
      string description = 8;
      Returns:
      The bytes for description.
    • getDescriptionPrefix

      String getDescriptionPrefix()
      Modify an existing/inherited description by adding text to the beginning
      or end.
      
      string description_prefix = 9;
      Returns:
      The descriptionPrefix.
    • getDescriptionPrefixBytes

      ByteString getDescriptionPrefixBytes()
      Modify an existing/inherited description by adding text to the beginning
      or end.
      
      string description_prefix = 9;
      Returns:
      The bytes for descriptionPrefix.
    • getDescriptionSuffix

      String getDescriptionSuffix()
      string description_suffix = 10;
      Returns:
      The descriptionSuffix.
    • getDescriptionSuffixBytes

      ByteString getDescriptionSuffixBytes()
      string description_suffix = 10;
      Returns:
      The bytes for descriptionSuffix.