Interface ApiDef.AttrOrBuilder

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

public static interface ApiDef.AttrOrBuilder extends MessageOrBuilder
  • Method Details

    • getName

      String getName()
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      ByteString getNameBytes()
      string name = 1;
      Returns:
      The bytes for name.
    • getRenameTo

      String getRenameTo()
      Change the name used to access this attr in the API from what
      is used in the GraphDef.  Note that these names in `backticks`
      will also be replaced in the summary & description fields.
      
      string rename_to = 2;
      Returns:
      The renameTo.
    • getRenameToBytes

      ByteString getRenameToBytes()
      Change the name used to access this attr in the API from what
      is used in the GraphDef.  Note that these names in `backticks`
      will also be replaced in the summary & description fields.
      
      string rename_to = 2;
      Returns:
      The bytes for renameTo.
    • hasDefaultValue

      boolean hasDefaultValue()
      Specify a new default value to use for this attr.  This default
      will be used when creating new graphs, as opposed to the
      default in the OpDef, which will be used when interpreting old
      GraphDefs.
      
      .tensorflow.AttrValue default_value = 3;
      Returns:
      Whether the defaultValue field is set.
    • getDefaultValue

      AttrValue getDefaultValue()
      Specify a new default value to use for this attr.  This default
      will be used when creating new graphs, as opposed to the
      default in the OpDef, which will be used when interpreting old
      GraphDefs.
      
      .tensorflow.AttrValue default_value = 3;
      Returns:
      The defaultValue.
    • getDefaultValueOrBuilder

      AttrValueOrBuilder getDefaultValueOrBuilder()
      Specify a new default value to use for this attr.  This default
      will be used when creating new graphs, as opposed to the
      default in the OpDef, which will be used when interpreting old
      GraphDefs.
      
      .tensorflow.AttrValue default_value = 3;
    • getDescription

      String getDescription()
      Note: this will replace any inherited attr doc, there is no current
      way of modifying attr descriptions as can be done with op descriptions.
      
      string description = 4;
      Returns:
      The description.
    • getDescriptionBytes

      ByteString getDescriptionBytes()
      Note: this will replace any inherited attr doc, there is no current
      way of modifying attr descriptions as can be done with op descriptions.
      
      string description = 4;
      Returns:
      The bytes for description.