object ApiDef extends GeneratedMessageCompanion[ApiDef]
- Alphabetic
- By Inheritance
- ApiDef
- GeneratedMessageCompanion
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class ApiDefLens[UpperPB] extends ObjectLens[UpperPB, ApiDef]
-
final
case class
Arg(name: String = "", renameTo: String = "", description: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Arg] with Product with Serializable
- renameTo
Change the name used to access this arg 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.- description
Note: this will replace any inherited arg doc. There is no current way of modifying arg descriptions (other than replacing them entirely) as can be done with op descriptions.
- Annotations
- @SerialVersionUID()
-
final
case class
Attr(name: String = "", renameTo: String = "", defaultValue: Option[AttrValue] = _root_.scala.None, description: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Attr] with Product with Serializable
Description of the graph-construction-time configuration of this Op.
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.
- renameTo
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.- defaultValue
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.
- description
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
- Annotations
- @SerialVersionUID()
-
final
case class
Endpoint(name: String = "", deprecated: Boolean = false, deprecationVersion: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Endpoint] with Product with Serializable
If you specify any endpoint, this will replace all of the inherited endpoints.
If you specify any endpoint, this will replace all of the inherited endpoints. The first endpoint should be the "canonical" endpoint, and should not be deprecated (unless all endpoints are deprecated).
- name
Name should be either like "CamelCaseName" or "Package.CamelCaseName". Client-language-specific ApiDefs may use a snake_case convention instead of CamelCase.
- deprecated
Set if this endpoint is deprecated. If set to true, a message suggesting to use a non-deprecated endpoint instead will be printed. If all endpoints are deprecated, set deprecation_message in ApiDef instead.
- deprecationVersion
Major version when an endpoint will be deleted. For e.g. set this value to 2 if endpoint should be removed in TensorFlow 2.0 and deprecated in versions before that.
- Annotations
- @SerialVersionUID()
-
type
ValueType = ApiDef
- Definition Classes
- GeneratedMessageCompanion
- sealed abstract class Visibility extends GeneratedEnum
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val ARG_ORDER_FIELD_NUMBER: Int(11)
- final val ATTR_FIELD_NUMBER: Int(6)
- final val DEPRECATION_MESSAGE_FIELD_NUMBER: Int(12)
- final val DEPRECATION_VERSION_FIELD_NUMBER: Int(13)
- final val DESCRIPTION_FIELD_NUMBER: Int(8)
- final val DESCRIPTION_PREFIX_FIELD_NUMBER: Int(9)
- final val DESCRIPTION_SUFFIX_FIELD_NUMBER: Int(10)
- final val ENDPOINT_FIELD_NUMBER: Int(3)
- final val GRAPH_OP_NAME_FIELD_NUMBER: Int(1)
- final val IN_ARG_FIELD_NUMBER: Int(4)
- final val OUT_ARG_FIELD_NUMBER: Int(5)
- final val SUMMARY_FIELD_NUMBER: Int(7)
- final val VISIBILITY_FIELD_NUMBER: Int(2)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
lazy val
defaultInstance: ApiDef
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
def
enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromAscii(s: String): ApiDef
- Definition Classes
- GeneratedMessageCompanion
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javaDescriptor: Descriptor
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
def
merge(a: ApiDef, input: CodedInputStream): ApiDef
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[ApiDef]
-
def
messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
implicit
def
messageReads: Reads[ApiDef]
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def of(graphOpName: String, deprecationMessage: String, deprecationVersion: Int, visibility: Visibility, endpoint: Seq[Endpoint], inArg: Seq[Arg], outArg: Seq[Arg], argOrder: Seq[String], attr: Seq[Attr], summary: String, description: String, descriptionPrefix: String, descriptionSuffix: String): ApiDef
-
def
parseDelimitedFrom(input: InputStream): Option[ApiDef]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseDelimitedFrom(input: CodedInputStream): Option[ApiDef]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(_input__: CodedInputStream): ApiDef
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
def
parseFrom(s: Array[Byte]): ApiDef
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(input: InputStream): ApiDef
- Definition Classes
- GeneratedMessageCompanion
-
def
scalaDescriptor: Descriptor
- Definition Classes
- ApiDef → GeneratedMessageCompanion
-
def
streamFromDelimitedInput(input: InputStream): Stream[ApiDef]
- Definition Classes
- GeneratedMessageCompanion
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray(a: ApiDef): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(s: Array[Byte]): Try[ApiDef]
- Definition Classes
- GeneratedMessageCompanion
-
def
validateAscii(s: String): Either[TextFormatError, ApiDef]
- Definition Classes
- GeneratedMessageCompanion
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Arg extends GeneratedMessageCompanion[Arg]
- object Attr extends GeneratedMessageCompanion[Attr]
- object Endpoint extends GeneratedMessageCompanion[Endpoint]
- object Visibility extends GeneratedEnumCompanion[Visibility]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated