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.
- 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()
 
- Alphabetic
 - By Inheritance
 
- ArgDef
 - Updatable
 - GeneratedMessage
 - Serializable
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Instance Constructors
- 
      
      
      
        
      
    
      
        
        new
      
      
        ArgDef(name: String = "", description: String = "", type: DataType = ..., typeAttr: String = "", numberAttr: String = "", typeListAttr: String = "", isRef: Boolean = false, unknownFields: UnknownFieldSet = ...)
      
      
      
- 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.
 
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
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        companion: ArgDef.type
      
      
      
- Definition Classes
 - ArgDef → GeneratedMessage
 
 -  val description: String
 -  def discardUnknownFields: ArgDef
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        getField(__field: FieldDescriptor): PValue
      
      
      
- Definition Classes
 - ArgDef → GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        getFieldByNumber(__fieldNumber: Int): Any
      
      
      
- Definition Classes
 - ArgDef → GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 -  val isRef: Boolean
 -  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 numberAttr: String
 - 
      
      
      
        
      
    
      
        
        def
      
      
        serializedSize: Int
      
      
      
- Definition Classes
 - ArgDef → 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
 - ArgDef → GeneratedMessage
 
 -  val type: DataType
 -  val typeAttr: String
 -  val typeListAttr: String
 -  val unknownFields: UnknownFieldSet
 - 
      
      
      
        
      
    
      
        
        def
      
      
        update(ms: (Lens[ArgDef, ArgDef]) ⇒ Mutation[ArgDef]*): ArgDef
      
      
      
- 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 withDescription(__v: String): ArgDef
 -  def withIsRef(__v: Boolean): ArgDef
 -  def withName(__v: String): ArgDef
 -  def withNumberAttr(__v: String): ArgDef
 -  def withType(__v: DataType): ArgDef
 -  def withTypeAttr(__v: String): ArgDef
 -  def withTypeListAttr(__v: String): ArgDef
 -  def withUnknownFields(__v: UnknownFieldSet): ArgDef
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        writeDelimitedTo(output: OutputStream): Unit
      
      
      
- Definition Classes
 - GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        writeTo(_output__: CodedOutputStream): Unit
      
      
      
- Definition Classes
 - ArgDef → 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