object OpDef extends GeneratedMessageCompanion[OpDef]
- Alphabetic
 - By Inheritance
 
- OpDef
 - GeneratedMessageCompanion
 - Serializable
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Type Members
- 
      
      
      
        
      
    
      
        final 
        case class
      
      
        ArgDef(name: String = "", description: String = "", type: DataType = ..., typeAttr: String = "", numberAttr: String = "", typeListAttr: String = "", isRef: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ArgDef] with Product with Serializable
      
      
      
For describing inputs and outputs.
For describing inputs and outputs.
- name
 Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
- description
 Human readable description.
- type
 Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
- typeAttr
 if specified, attr must have type "type"
- numberAttr
 if specified, attr must have type "int"
- typeListAttr
 If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
- isRef
 For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
- Annotations
 - @SerialVersionUID()
 
 - 
      
      
      
        
      
    
      
        final 
        case class
      
      
        AttrDef(name: String = "", type: String = "", defaultValue: Option[AttrValue] = _root_.scala.None, description: String = "", hasMinimum: Boolean = false, minimum: Long = 0L, allowedValues: Option[AttrValue] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AttrDef] 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.
- name
 A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
- type
 One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
- defaultValue
 A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
- description
 Human-readable description.
- hasMinimum
 For type == "int", this is a minimum value. For "list(_)" types, this is the minimum length.
- allowedValues
 The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
- Annotations
 - @SerialVersionUID()
 
 -  implicit class OpDefLens[UpperPB] extends ObjectLens[UpperPB, OpDef]
 - 
      
      
      
        
      
    
      
        
        type
      
      
        ValueType = OpDef
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 
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 ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER: Int(19)
 -  final val ATTR_FIELD_NUMBER: Int(4)
 -  final val CONTROL_OUTPUT_FIELD_NUMBER: Int(20)
 -  final val DEPRECATION_FIELD_NUMBER: Int(8)
 -  final val DESCRIPTION_FIELD_NUMBER: Int(6)
 -  final val INPUT_ARG_FIELD_NUMBER: Int(2)
 -  final val IS_AGGREGATE_FIELD_NUMBER: Int(16)
 -  final val IS_COMMUTATIVE_FIELD_NUMBER: Int(18)
 -  final val IS_STATEFUL_FIELD_NUMBER: Int(17)
 -  final val NAME_FIELD_NUMBER: Int(1)
 -  final val OUTPUT_ARG_FIELD_NUMBER: Int(3)
 -  final val SUMMARY_FIELD_NUMBER: Int(5)
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        
        lazy val
      
      
        defaultInstance: OpDef
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        fromAscii(s: String): OpDef
      
      
      
- 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
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        merge(a: OpDef, input: CodedInputStream): OpDef
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 -  implicit def messageCompanion: GeneratedMessageCompanion[OpDef]
 - 
      
      
      
        
      
    
      
        
        def
      
      
        messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        implicit 
        def
      
      
        messageReads: Reads[OpDef]
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        lazy val
      
      
        nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -  def of(name: String, inputArg: Seq[ArgDef], outputArg: Seq[ArgDef], controlOutput: Seq[String], attr: Seq[AttrDef], deprecation: Option[OpDeprecation], summary: String, description: String, isCommutative: Boolean, isAggregate: Boolean, isStateful: Boolean, allowsUninitializedInput: Boolean): OpDef
 - 
      
      
      
        
      
    
      
        
        def
      
      
        parseDelimitedFrom(input: InputStream): Option[OpDef]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        parseDelimitedFrom(input: CodedInputStream): Option[OpDef]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        parseFrom(_input__: CodedInputStream): OpDef
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        parseFrom(s: Array[Byte]): OpDef
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        parseFrom(input: InputStream): OpDef
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        scalaDescriptor: Descriptor
      
      
      
- Definition Classes
 - OpDef → GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        streamFromDelimitedInput(input: InputStream): Stream[OpDef]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toByteArray(a: OpDef): Array[Byte]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        validate(s: Array[Byte]): Try[OpDef]
      
      
      
- Definition Classes
 - GeneratedMessageCompanion
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        validateAscii(s: String): Either[TextFormatError, OpDef]
      
      
      
- 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 ArgDef extends GeneratedMessageCompanion[ArgDef]
 -  object AttrDef extends GeneratedMessageCompanion[AttrDef]
 
Deprecated Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] ) @Deprecated
 - Deprecated