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. 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()
- Alphabetic
- By Inheritance
- Attr
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Attr(name: String = "", renameTo: String = "", defaultValue: Option[AttrValue] = _root_.scala.None, description: String = "", unknownFields: UnknownFieldSet = ...)
- 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.
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearDefaultValue: Attr
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: Attr.type
- Definition Classes
- Attr → GeneratedMessage
- val defaultValue: Option[AttrValue]
- val description: String
- def discardUnknownFields: Attr
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getDefaultValue: AttrValue
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Attr → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Attr → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val renameTo: String
-
def
serializedSize: Int
- Definition Classes
- Attr → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Attr → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Attr, Attr]) ⇒ Mutation[Attr]*): Attr
- Definition Classes
- Updatable
-
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( ... )
- def withDefaultValue(__v: AttrValue): Attr
- def withDescription(__v: String): Attr
- def withName(__v: String): Attr
- def withRenameTo(__v: String): Attr
- def withUnknownFields(__v: UnknownFieldSet): Attr
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Attr → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated